perm filename POX.XG[UP,DOC] blob sn#238603 filedate 1976-09-27 generic text, type T, neo UTF8
/FONT#0=NGR30/FONT#2=BDI25/FONT#3=NGR25/FONT#4=NGB25[  1,REM]/FONT#5=NGR20[  1,REM]/FONT#6=XMAS25/FONT#15=KBD25/FONT#12=75224X[  1,REM]/FONT#1=FIX25/FONT#7=CLAR30/FONT#9=GRK30/FONT#14=GRKL50/TMAR=200/PMAR=1992/BMAR=2
␈↓␈↓␈↓α␈↓β␈↓∧␈↓¬␈↓ε␈↓∂␈↓␈↓ ¬ε␈β↓H␈↓P␈↓βrototype␈↓ O␈↓βverlay␈↓ X␈↓βerographics
␈↓ ¬
␈β↓k␈↓β(name suggested by R.W.Gosper)
␈↓ β;␈βα	␈↓βBy Robert Elton Maas, with revisions by Ralph E. Gorin and R.E.M.
␈↓ αc␈βα'␈↓α(POX writeup,  edited 1975 DEC 05  07:52 PST,  compiled 1976 SEP 27  20:38)
␈↓ α_␈βαc␈↓βPOX␈αis␈αa␈αprogram␈αfor␈αmaking␈αdocuments␈αthat␈αtake␈αadvantage␈αof␈αthe␈αspecial␈αfeatures␈αavailable␈αon
␈↓ ↓H␈ββ↓␈↓βthe␈αXerox␈αGraphics␈αPrinter␈α(XGP).␈αThe␈αspecial␈αfeatures␈αthat␈αboth␈αPOX␈αand␈αPUB␈αprovide␈αare␈αmainly␈αfont
␈↓ ↓H␈ββ∨␈↓βswitching,␈α⊃text␈α⊃justification␈α⊃and␈α⊃automatic␈α⊃"every␈α⊂page"␈α⊂actions␈α⊂such␈α⊂as␈α⊂page␈α⊂numbering.␈α⊂POX␈α⊂also
␈↓ ↓H␈ββ=␈↓βprovides␈α∞vectors,␈α∞positioning␈α∞of␈α∞text␈α∞etc.␈α∞to␈α∞an␈α∞accuracy␈α∞of␈α
1/200␈α
inch,␈α
composition␈α
of␈α
text␈α
etc.␈α
into
␈↓ ↓H␈ββ[␈↓β"overlays"␈αwhich␈αcan␈αbe␈αcopied␈αand␈αprocessed␈αwithout␈αlosing␈αthe␈αrelative␈αpositions␈αof␈αthe␈αcomponents
␈↓ ↓H␈ββy␈↓β(somewhat␈αlike␈αsets␈αin␈αSUDS,␈αthe␈αHelliwell␈αdrawing␈αprogram).␈αPOX␈αdoes␈αnot␈αyet␈αprovide␈αtext␈αresponses
␈↓ ↓H␈β∧↔␈↓βor␈α∩footnotes.␈α∩It␈α∩is␈α∩possible␈α∩to␈α∩set␈α∩up␈α∩cross-references␈α⊃or␈α⊃indexes/contents␈α⊃by␈α⊃means␈α⊃of␈α⊃macros,
␈↓ ↓H␈β∧5␈↓βproviding␈αthat␈αthere␈αare␈αno␈αforeward␈αreferences␈α(i.e.␈αeverything␈αis␈αdefined␈αbefore␈αit␈αis␈αused␈α--␈αPOX␈αis
␈↓ ↓H␈β∧S␈↓βone-pass␈α∂only).␈α∂Neither␈α∂POX␈α∂nor␈α∂PUB␈α∂can␈α∂yet␈α∂be␈α∞used␈α∞interactively␈α∞like␈α∞GEOMED␈α∞and␈α∞SUDS,␈α∞and␈α∞no
␈↓ ↓H␈β∧q␈↓βprogram␈α∩yet␈α∩exists␈α∩for␈α∩viewing␈α∩the␈α∩final␈α∩output␈α∩on␈α∩displays␈α∩to␈α∩check␈α∩for␈α∩visual␈α∩errors␈α∩prior␈α⊃to
␈↓ ↓H␈β¬∂␈↓∂XSPOOL␈↓βing.
␈↓ α_␈β¬-␈↓βPOX␈αhas␈αa␈αfew␈αintractable␈αbugs␈α--␈αthere␈αis␈αa␈αlist␈αof␈αthese␈αbugs␈αin␈αa␈αlater␈αsection␈αof␈αthis␈αwriteup
␈↓ ↓H␈β¬K␈↓β--␈α
references␈α
to␈α
these␈α
bugs␈α
are␈α
made␈α
from␈α
various␈α
places␈α
in␈α
this␈α
writeup,␈α
in␈α
the␈α
format␈α"␈↓αsee␈αbug#n␈↓β"
␈↓ ↓H␈β¬i␈↓βwhere␈αn␈αis␈αthe␈αnumber␈αof␈αthe␈αbug␈αin␈αthat␈αlist␈α--␈αusers␈α
should␈α
report␈α
any␈α
bugs␈α
they␈α
find␈α
that␈α
are␈α
not␈α
in
␈↓ ↓H␈βεπ␈↓βthat␈αlist␈α--␈αerrors␈αin␈αthis␈αwriteup␈αshould␈αalso␈αbe␈αreported␈α
before␈α
too␈α
many␈α
unwary␈α
users␈α
see␈α
them␈α
and
␈↓ ↓H␈βε%␈↓βexpect␈α
POX␈α
to␈α
do␈α
things␈α
it␈α
can't␈α
do.
␈↓ α_␈βεa␈↓βPOX␈αtakes␈αa␈αfile␈αas␈αinput␈αand␈αproduces␈αan␈αoutput␈αfile␈αthat␈αis␈αsuitable␈αfor␈αspooling␈αwith␈αthe␈αXGP
␈↓ ↓H␈βε␈␈↓βspooler␈α
(␈↓∂XSPOOL␈↓β␈α
command).␈α
The␈α
input␈α
file␈α
contains␈α
instructions␈α
to␈α
POX␈α
and␈α
the␈α
text␈α
of␈α
the␈αdocument.
␈↓ ↓H␈βπ≥␈↓βPOX␈α⊂takes␈α⊂character␈α⊂sequences␈α⊂as␈α∂commands.␈α∂Each␈α∂command␈α∂sequence␈α∂is␈α∂preceded␈α∂by␈α∂a␈α∂character,
␈↓ ↓H␈βπ;␈↓βcalled␈α⊃the␈↓α␈α⊃Escape␈α⊃Character␈↓β.␈α⊃The␈α⊃first␈α⊃character␈α⊃in␈α⊃the␈α⊃file␈α⊃(ignoring␈α⊃TV␈α⊃directories␈α⊃and␈α⊃SOS␈α⊃line
␈↓ ↓H␈βπY␈↓βnumbers)␈α∞is␈α∞taken␈α∞by␈α∞POX␈α∞as␈α∞the␈α∞escape␈α∞character␈α∞(See␈α∞note␈α∞1).␈α∞Thus,␈α
the␈α
user␈α
gets␈α
to␈α
specify␈α
the
␈↓ ↓H␈βπw␈↓βescape␈α∞character.␈α
The␈α
escape␈α
character␈α
can␈α
be␈α
arbitrary,␈α
but␈α
reason␈α
dictates␈α
that␈α
it␈α
should␈α
be␈α
some
␈↓ ↓H␈βλ∃␈↓βcharacter␈α⊂that␈α⊂appears␈α⊂infrequently␈α⊂(or␈α⊂not␈α⊂at␈α⊂all)␈α⊂in␈α⊂the␈α⊂text␈α⊂of␈α⊂the␈α⊂document.␈α⊂The␈α⊂most␈α∂popular
␈↓ ↓H␈βλ1␈↓βchoices␈α⊂for␈α⊂the␈α⊂escape␈α⊂character␈α⊂are␈α⊂\␈α⊂_␈α⊂and␈α∂$.␈α∂In␈α∂the␈α∂remainder␈α∂of␈α∂this␈α∂document,␈α∂the␈α∂symbol␈↓␈α∂1
␈↓ ↓H␈βλQ␈↓β(pronounced␈α"brick"␈α--␈αyou␈αwon't␈αfind␈αit␈αon␈αyour␈αkeyboard␈α--␈αit's␈αASCII␈α
061␈α
in␈α
font␈α
75224X.FNT[1,REM]
␈↓ ↓H␈βλo␈↓βif␈α∩you␈α∩really␈α∩want␈α∩to␈α∩know␈α∩how␈α∩I␈α∩generated␈α∩it␈α∩in␈α⊃this␈α⊃writeup)␈α⊃represents␈α⊃your␈α⊃current␈α⊃Escape
␈↓ ↓H␈β	
␈↓βCharacter,␈α∂whatever␈α∂it␈α∂may␈α∂be␈α∂at␈α∂the␈α∞moment;␈α∞however,␈α∞in␈α∞some␈α∞examples␈α∞below␈α∞the␈α∞actual␈α∞escape
␈↓ ↓H␈β	+␈↓βcharacter␈α
will␈α
be␈α
shown␈α
rather␈α
than␈α
the␈α
brick␈α
symbol.
␈↓ α_␈β	I␈↓βI␈αhaven't␈αreally␈αdecided␈αwhat␈αto␈αcall␈αthese␈αcommands,␈αso␈αuntil␈αmake␈αa␈αdecision␈αyou␈αmay␈αfind␈αthat
␈↓ ↓H␈β	g␈↓βat␈αsome␈αplaces␈αin␈αthis␈αwriteup␈αthey␈αare␈αcalled␈α"escape␈αcommands"␈αat␈αother␈αplaces␈α"brick␈αcommands"␈αor
␈↓ ↓H␈β
¬␈↓β"POX␈α∞commands".␈α∞The␈α∞commands␈α∞the␈α∞XGP␈α∞understands,␈α∞beginning␈α∞with␈α∞an␈α∞ASCII␈α∞177␈α∞which␈α∞is␈α∞rubout,
␈↓ ↓H␈β
#␈↓βhave␈α∞entirely␈α∞different␈α∞syntax␈α∞even␈α∞for␈α∞commands␈α∞that␈α∞perform␈α∞almost␈α∞the␈α∞same␈α∞function␈α∞as␈α
a␈α
brick
␈↓ ↓H␈β
A␈↓βcommand.␈αThese␈αare␈αreferred␈αto␈αas␈α"XGP␈αescape␈αsequences"␈αor␈α"rubout-style␈αcommands"␈αto␈αdistinguish
␈↓ ↓H␈β
←␈↓βthem␈α∂from␈α∂brick␈α∂commmands.␈α∂These␈α∂XGP␈α∂escape␈α∞sequences␈α∞are␈α∞normally␈α∞present␈α∞only␈α∞in␈α∞the␈α∞output
␈↓ ↓H␈β
⎇␈↓βfrom␈α⊂POX␈α⊂and␈α⊂PUB,␈α⊂except␈α⊂when␈α⊂POX␈α⊂is␈α⊂used␈α⊂as␈α⊂post-processor␈α∂for␈α∂some␈α∂other␈α∂program,␈α∂such␈α∂as
␈↓ ↓H␈β≠␈↓βXLITER.␈αFor␈αthis␈αand␈αsimilar␈αuse,␈αPOX␈αcan␈αaccept␈αcertain␈αsystem␈αXGP␈αescape␈αsequences␈αat␈αsome␈αplaces
␈↓ ↓H␈β9␈↓βin␈αthe␈αinput␈αfile.␈↓¬␈αWhat␈αPOX␈αdoes␈αis␈αto␈αconvert␈αthese␈αescape␈αsequences␈αinto␈αthe␈αequivalent␈αbrick␈αcommand␈αupon␈αinput,␈αthen␈αto
␈↓ ↓H␈β[␈↓¬process␈α∞the␈α∞brick␈α∞command␈α∞in␈α∞the␈α∞usual␈α∞way.␈α∞Thus␈α∞the␈α∞XLITER␈α∞program␈α∞can␈α∞transliterate␈α∞phonemes␈α∞into␈α
cyrillic␈α
characters␈α
with
␈↓ ↓H␈βy␈↓¬rubout-style␈α
font␈α
selects␈α
(to␈α
allow␈α
direct␈α
listing␈α
on␈α
the␈α
XGP␈α
if␈α
desired),␈α
and␈α
POX␈α
can␈α
treat␈α
the␈α
cyrillic␈α
as␈α
text,␈α
treat␈α
the␈α
font-selects
␈↓ ↓H␈β⊃␈↓¬generated␈α	in␈αλthe␈αλprocess␈αλof␈αλtransliteration␈αλas␈↓␈αλ1␈↓∂F␈↓¬...␈αλcommands,␈αλand␈αλprocess␈αλother␈αλbrick␈αλcommands␈αλthat␈αλwere␈αλin␈αλthe␈αλoriginal␈αλtext␈αλfile␈αλ(that
␈↓ ↓H␈β5␈↓¬were␈α
passed-as-is␈α
by␈α
XLITER).
␈↓ α_␈βm␈↓βTo␈α
run␈α
POX,␈α
use␈α
the␈α
system␈α
command␈↓∂␈α
R␈α
POX␈↓β␈α
(or␈↓∂␈α
RU␈α
POX[1,REM]␈↓β␈α
if␈αyou␈αwant␈αto␈αuse␈αthe␈αlatest
␈↓ ↓H␈β
␈↓βexperimental␈α∪version␈α∪of␈α∪POX␈α∪if␈α∪one␈α∪exists).␈α∪POX␈α∪wants␈α∪to␈α∪see␈α∩a␈α∩command␈α∩of␈α∩the␈α∩form:␈↓¬␈α∩<OUTPUT
␈↓ ↓H␈β
)␈↓¬FILE>␈↓∂←␈↓¬<INPUT␈αFILE>␈↓β.␈αIf␈αthe␈↓¬␈α<OUTPUT␈αFILE>␈↓β␈αterm␈αis␈αomitted␈α(the␈αarrow␈αmust␈αstill␈αappear)␈αthen␈αthe␈αoutput␈αfile
␈↓ ↓H␈β
G␈↓βwill␈αhave␈αthe␈αsame␈αname␈αas␈αthe␈αinput␈αfile,␈αand␈α"␈↓∂.XGP␈↓β"␈α
extension.␈α
If␈α
only␈α
the␈α
extension␈α
of␈α
the␈α
output␈α
file
␈↓ ↓H␈β
e␈↓βis␈α∞omitted,␈α
"␈↓∂.XGP␈↓β"␈α
will␈α
be␈α
used.␈α
--␈α
Later␈α
if␈α
you␈α
haven't␈α
logged␈α
out␈α
and␈α
have␈α
the␈α
same␈α
alias,␈α
you␈α
can
␈↓ ↓H␈β∞β␈↓βmake␈αPOX␈αuse␈αthe␈αsame␈αcommand,␈αwithout␈αretyping␈αit,␈αby␈αstarting␈αPOX␈α
at␈α
the␈α
RPG␈α
starting␈α
address.␈α
For
␈↓ ↓H␈β∞!␈↓βexample,␈α⊃you␈α⊃can␈α⊃say␈α⊂"␈↓∂GET␈α⊂SYS:POX␈↓β"␈α⊂then␈α⊂say␈α⊂"␈↓∂S␈α⊂+1␈↓β",␈α⊂or␈α⊂from␈α⊂E␈α⊂you␈α⊂can␈α⊂give␈α⊂the␈α⊂extend-mode
␈↓ ↓H␈β∞?␈↓βcommand␈α
"␈↓∂RU␈α
POX[1,3]␈↓β".
␈↓ α_␈β∞]␈↓βIf␈αall␈αis␈αwell␈αwith␈αthe␈αinput␈αfile,␈αPOX␈αwill␈α
run␈α
and␈α
produce␈α
an␈α
output␈α
file␈α
suitable␈α
for␈↓∂␈α
XSPOOL␈↓βing.␈α
If
␈↓ ↓H␈β∞{␈↓βyou␈αare␈αat␈αa␈αlocal␈αdisplay,␈αPOX␈αwill␈αload␈αthe␈αappropriate␈↓∂␈αXSPOOL␈↓β␈αcommand␈αinto␈αyour␈αline␈αeditor,␈αso␈αall
␈↓ ↓H␈β∂→␈↓βyou␈α
have␈α
to␈α
do␈α
is␈α
type␈α
return␈α
to␈α
spool␈α
the␈α
file.
␈↓ 
j␈↓α 1␈↓ α$␈β⊂ ␈↓αPOX writeup,  edited 1975 DEC 05  07:52 PST,  compiled 1976 SEP 27  20:38 -- page 
␈↓ 
j␈↓α 2␈↓ α$␈β↓α␈↓αPOX writeup,  edited 1975 DEC 05  07:52 PST,  compiled 1976 SEP 27  20:38 -- page 
␈↓ ¬;␈β↓H␈↓Sample POX input file
␈↓ βn␈β↓f␈↓(I assume you will have your files in E/TV format)
␈↓ ↓H␈βα'␈↓∂COMMENT ⊗   VALID 00002 PAGES
␈↓ ↓H␈βαE␈↓∂C REC  PAGE   DESCRIPTION
␈↓ ↓H␈βαc␈↓∂C00001 00001
␈↓ ↓H␈ββ↓␈↓∂C00002 00002␈↓ βH\|\\M0FIX25\M1NGR25\ This is a comment, after the brick-semicolon
␈↓ ↓H␈ββ∨␈↓∂C00004 ENDMK
␈↓ ↓H␈ββ=␈↓∂C⊗;
␈↓ ∧l␈ββ←␈↓¬<FORMFEED> i.e. page mark after directory page
␈↓ ↓H␈ββy␈↓∂\|\\M0FIX25;\M1NGR25;\; This is a comment, after the brick-semicolon
␈↓ ↓H␈β∧↔␈↓∂\; Font #0 is here in case title pages needed -- If we
␈↓ ↓H␈β∧5␈↓∂\; don't explicitly specify it here, the system will invent a font#0.
␈↓ ↓H␈β∧S␈↓∂\←L\+=100;\→L\; Move left margin in by 1/2 inch
␈↓ ↓H␈β∧q␈↓∂\F1\CTITLE OF THIS DOCUMENT IS HERE
␈↓ ↓H␈β¬-␈↓∂\J␈↓ αHThis is a sample document, with justified text, and a centered
␈↓ ↓H␈β¬K␈↓∂title.  It demonstrates to the person using POX for the first time,
␈↓ ↓H␈β¬i␈↓∂just what is involved in a simple POX manuscript (borrowing terminology
␈↓ ↓H␈βεπ␈↓∂from the PUB manual, in which a "manuscript" is the uncompiled form
␈↓ ↓H␈βε%␈↓∂you see here and a "document" is the compiled file all
␈↓ ↓H␈βεC␈↓∂ready to output to some device such as lineprinter or XGP).  If you
␈↓ ↓H␈βεa␈↓∂have any doubt what the output on the XGP would look like if
␈↓ ↓H␈βε␈␈↓∂this document were actually compiled etc., I suggest you create
␈↓ ↓H␈βπ≥␈↓∂a text file with E or SOS and copy this page (after the formfeed
␈↓ ↓H␈βπ;␈↓∂above, until the end-of-file location below), and actually
␈↓ ↓H␈βπY␈↓∂compile it and XSPOOL it.\.
␈↓ ε␈βπ{␈↓¬<END OF FILE>
␈↓ βZ␈βλ.␈↓THIS WRITEUP -- ORGANIZATION, MODES, NOTATION
␈↓ α_␈βλQ␈↓βEach␈αsection␈αin␈αthis␈α
writeup␈α
that␈α
describes␈α
brick-commands␈α
consists␈α
of␈α
the␈α
following:␈α
Summary␈α
of
␈↓ ↓H␈βλo␈↓βwhat␈α
it's␈α
all␈α
used␈α
for,␈α
syntax␈α
of␈α
each␈α
command,␈α
the␈α
corresponding␈α
descriptions␈αof␈αwhat␈αfunction␈αeach
␈↓ ↓H␈β	
␈↓βcommand␈αperforms,␈αexamples␈αof␈αthe␈αuse␈αof␈αthe␈αcommands␈αin␈αthis␈αwriteup␈α
itself␈α
with␈α
general␈α
references
␈↓ ↓H␈β	+␈↓βas␈α⊃to␈α⊃where␈α⊃to␈α⊃look␈α⊃to␈α⊃see␈α⊃the␈α⊃effect␈α⊂generated,␈α⊂additional␈α⊂examples␈α⊂of␈α⊂use␈α⊂(input␈α⊂text␈α⊂followed
␈↓ ↓H␈β	I␈↓βimmediately␈α
by␈α
the␈α
effect␈α
generated␈α
in␈α
output).
␈↓ α_␈β
¬␈↓βSome␈α⊂brick-commands␈α⊂will␈α⊂put␈α∂the␈α∂command␈α∂scanner␈α∂in␈α∂a␈α∂special␈α∂mode␈α∂until␈α∂such␈α∂time␈α∂as␈α∂an
␈↓ ↓H␈β
#␈↓βappropriate␈α"get␈αout␈αof␈αthis␈αmode"␈αcharacter␈αor␈αbrick-command␈αis␈αseen,␈αat␈αwhich␈αtime␈αit␈αwill␈αreturn␈αto
␈↓ ↓H␈β
A␈↓βits␈αprevious␈αmode.␈αInitially␈α(after␈αeating␈αthe␈αdirectory␈αpage␈αand␈αthe␈αfirst␈αcharacter␈αor␈αtwo␈αof␈αthe␈αinput
␈↓ ↓H␈β
←␈↓βfile)␈α
the␈αcommand␈αscanner␈αis␈αin␈α"PASS-AS-IS"␈αmode␈αwhich␈αmeans␈αthat␈αcarriage-return␈αputs␈αyou␈αat␈αthe
␈↓ ↓H␈β
⎇␈↓βleft␈α∞margin,␈α∞linefeed␈α∞moves␈α∞down␈α∞to␈α∞the␈α∞next␈α∞line,␈α∞formfeed␈α
completes␈α
the␈α
page␈α
and␈α
cuts␈α
the␈α
paper,
␈↓ ↓H␈β≠␈↓βbrick␈α
causes␈α
a␈α
command␈α
to␈α
be␈α
expected,␈α
and␈α
all␈α
other␈αcharacters␈αare␈αcopied␈αto␈αthe␈αoutput␈αfile␈αin␈αthe
␈↓ ↓H␈β9␈↓βcurrently-selected␈α
font.␈α
The␈α
effect␈α
is␈α
that␈α
text␈α
is␈α
aligned␈α
against␈αthe␈αleft␈αmargin␈αunless␈αyou␈αexplicitly
␈↓ ↓H␈βW␈↓βdo␈α
a␈α
column-select␈α
to␈α
cause␈α
it␈α
to␈α
be␈α
put␈α
elsewhere.
␈↓ α_␈βu␈↓βThe␈α∞other␈α∞modes␈α∞you␈α∞can␈α∞get␈α∞into␈α
are␈α
justify,␈α
centerify/rightify,␈α
copy␈α
text␈α
into␈α
a␈α
macro␈α
body,
␈↓ ↓H␈β∪␈↓βevaluate␈α∂and␈α∂copy␈α∂text␈α∂into␈α∂an␈α∂overlay␈α∂body,␈α∂evaluate␈α∂and␈α∂copy␈α∂text␈α∂into␈α∂a␈α∞macro␈α∞argument␈α∞body,
␈↓ ↓H␈β1␈↓βignore␈α
until␈α
linefeed,␈α
ignore␈α
until␈α
formfeed,␈αignore␈αnonprinting␈αcharacters␈αuntil␈αsemicolon,␈αand␈αparse␈αa
␈↓ ↓H␈βO␈↓βbrick␈α∂command.␈α∂Before␈α∂each␈α∂command␈α∂description␈α∂is␈α∂a␈α∂list␈α∂of␈α∞which␈α∞modes␈α∞you␈α∞can␈α∞be␈α∞in␈α∞when␈α∞the
␈↓ ↓H␈βm␈↓βcommand␈α
is␈α
scanned.␈α
The␈α
complete␈α
list␈α
is␈α
(U␈α
J␈α
CR␈α
o␈α
A)␈α
which␈αrefer␈αto␈αUnjustified␈α(normal␈αpass-as-is),
␈↓ ↓H␈β
	␈↓βJustify,␈α∞Center/Rightify,␈α
atomic␈α
text␈α
Overlay␈α
(␈↓1␈↓∂o␈↓β␈α
command)␈α
and␈α
Argument␈α
to␈α
a␈α
macro␈α
respectively␈α
(in
␈↓ ↓H␈β
)␈↓βthe␈αother␈αmodes,␈αnamely␈αdefine␈αthe␈αbody␈αof␈αa␈αmacro,␈αand␈αparse␈αvarious␈αcommands,␈αthe␈αbrick␈αcharacter
␈↓ ↓H␈β
G␈↓βis␈α
treated␈α
as␈α
text␈α
rather␈α
than␈α
initiating␈α
a␈α
brick-command).
␈↓ α_␈β∞β␈↓βIn␈α∂most␈α∂of␈α∂the␈α∂examples,␈α∂and␈α∂in␈α∂the␈α∂portion␈α∂of␈α∂each␈α∂syntax␈α∂specification␈α∂that␈α∂is␈α∂to␈α∂be␈α∞typed
␈↓ ↓H␈β∞!␈↓βcharacter-for-character␈α⊃exactly␈α⊃as␈α⊃you␈α⊃see␈α⊃it␈α⊃in␈α⊃this␈α⊃writeup,␈α⊃are␈α⊃in␈α⊃the␈α⊃font␈α⊂KBD25␈α⊂so␈α⊂that␈α⊂the
␈↓ ↓H␈β∞?␈↓βcharacters␈α∞look␈α∞almost␈α∞the␈α∞same␈α∞as␈α∞they␈α∞do␈α∞on␈α∞your␈α∞keyboards␈α∞and␈α
displays␈α
(Except␈α
that␈α
ASCII␈α
000
␈↓ ↓H␈β∞]␈↓β(null),␈α⊂011␈α⊂(tab),␈α⊂012␈α⊂(linefeed),␈α⊂013␈α∂(vertical-tab␈α∂or␈↓∂␈α∂␈↓β),␈α∂014␈α∂(formfeed),␈α∂015␈α∂(carriage-return),␈α∂040
␈↓ ↓H␈β∞{␈↓β(space),␈α∂and␈α∂177␈α∂(rubout)␈α∂don't␈α∂look␈α∂the␈α∂same␈α∂in␈α∂KBD25␈α∂as␈α∂on␈α∂your␈α∂keyboard␈α∞so␈α∞that␈α∞they␈α∞will␈α∞be
␈↓ ↓H␈β∂→␈↓βrepresented␈α
in␈α
some␈α
other␈α
way␈α
in␈α
this␈αwriteup).␈αHere␈αis␈αthe␈αcomplete␈αStanford-ASCII␈αcharacter␈αset␈αin
␈↓ ↓H␈β∂7␈↓βthis␈α
font:
␈↓ 
j␈↓α 2␈↓ α$␈β⊂ ␈↓αPOX writeup,  edited 1975 DEC 05  07:52 PST,  compiled 1976 SEP 27  20:38 -- page 
␈↓ 
j␈↓α 3␈↓ α$␈β↓α␈↓αPOX writeup,  edited 1975 DEC 05  07:52 PST,  compiled 1976 SEP 27  20:38 -- page 
␈↓ ↓H␈β↓H␈↓∂␈↓αβ∧¬επ λ␈	␈
␈␈
∞∂ ⊂⊃∩∪∀∃⊗↔ _→~≠≤≥≡∨  !"#$%&' ()*+,-./ 01234567 89:;<=>? 
␈↓ ↓H␈β↓f␈↓∂@ABCDEFG HIJKLMNO PQRSTUVW XYZ[\]↑← `abcdefg hijklmno pqrstuvw xyz{|␈⎇}␈␈
␈↓ α_␈βα∧␈↓βAll␈α
BNF-style␈α
syntax␈α
is␈α
in␈α
the␈α
font␈α
NGR20.␈α
Here␈α
are␈α
the␈α
syntactical␈α
entities␈α
that␈α
will␈α
be␈α
used:
␈↓ α_␈βα"␈↓¬<TB>␈↓β␈α
--␈α
(horizontal)␈α
tab
␈↓ α_␈βα@␈↓¬<LF>␈↓β␈α
--␈α
line␈α
(feed)
␈↓ α_␈βα↑␈↓¬<FF>␈↓β␈α
--␈α
form␈α
(feed)
␈↓ α_␈βα|␈↓¬<CR>␈↓β␈α
--␈α
(carriage)␈α
return
␈↓ α_␈ββ~␈↓¬<SP>␈↓β␈α
--␈α
space␈α
(bar)
␈↓ α_␈ββ8␈↓¬<CH>␈↓β␈α
--␈α
any␈α
single␈α
ASCII␈α
character␈α
(representing␈α
data␈α
to␈α
be␈α
copied␈α
to␈α
output)
␈↓ α_␈ββV␈↓¬<N>␈↓β␈α∩--␈α⊃any␈α⊃one␈α⊃of␈α⊃these␈α⊃characters:␈↓∂␈α⊃0␈α⊃1␈α⊃2␈α⊃...␈α⊃9␈α⊃A␈α⊃B␈α⊃...␈α⊃F␈↓β␈α⊃(representing␈α⊃a␈α⊃logical␈α⊃font
␈↓ ↓H␈ββt␈↓βnumber␈α
in␈α
IBM␈α
hexadecimal␈α
notation)
␈↓ α_␈β∧∩␈↓¬<FONT>␈↓β␈α⊃--␈α⊃any␈α⊃font␈α⊃file␈α⊃name,␈α⊃if␈α⊃extension␈α⊂and␈α⊂[p,p]␈α⊂are␈α⊂omitted,␈α⊂default␈↓∂␈α⊂.FNT[XGP,SYS]␈↓β␈α⊂is
␈↓ ↓H␈β∧0␈↓βassumed
␈↓ α_␈β∧N␈↓¬<NAME>␈↓β␈α∂--␈α∂any␈α∂alphanumeric␈α∂string,␈α∂usually␈α∂required␈α∂not␈α∂to␈α∂be␈α∂the␈α∂null␈α∞string␈α∞(an␈α∞identifier,␈α∞a
␈↓ ↓H␈β∧l␈↓βname␈α
of␈α
an␈α
overlay,␈α
a␈α
macro,␈α
etc.)
␈↓ α_␈β¬
␈↓¬<OPEN>␈↓β␈α
--␈α
any␈α
legal␈α
open-nesting␈α
character,␈α
such␈α
as␈↓∂␈α
(␈α
[␈α
{␈α
<␈α
⊂␈↓β,␈α
or␈α
any␈α
legal␈αquoting␈αcharacter,
␈↓ ↓H␈β¬(␈↓βsuch␈α
as␈↓∂␈α
"␈α
⊗␈α
↓␈α
/␈α
∂␈α
|
␈↓ α_␈β¬F␈↓¬<CLOSE>␈↓β␈α∩--␈α∩the␈α∩matching␈α∩close-nesting␈α∩character,␈α∩such␈α∩as␈↓∂␈α∩)␈α∩]␈α∩}␈α∩>␈α∩⊃␈↓β,␈α∩or␈α∩the␈α⊃same␈α⊃quoting
␈↓ ↓H␈β¬d␈↓βcharacter,␈α
such␈α
as␈↓∂␈α
"␈α
⊗␈α
↓␈α
/␈α
∂␈α
|
␈↓ α_␈βεα␈↓¬<BODY>␈↓β␈α--␈αany␈αstring␈αof␈αtext␈αnot␈αcontaining␈αthe␈αquoting␈αcharacter,␈αor␈αcontaining␈αproperly-nested
␈↓ ↓H␈βε ␈↓βopen␈αand␈α
close␈α
nesting␈α
characters␈α
(note␈α
that␈α
all␈α
characters␈α
are␈α
treated␈α
as␈α
text␈α
except␈α
for␈α
the␈α
␈↓&particular␈↓)αβ
␈↓ ↓H␈βε>␈↓βquoting␈α
character␈α
or␈α
nesting␈α
pair␈α
selected␈α
in␈α
a␈α
particular␈α
instance,␈α
and␈α
special␈α
characters␈α
like␈α
comma
␈↓ ↓H␈βε\␈↓βetc.␈α
which␈α
have␈α
special␈α
syntactical␈α
meaning)␈α
--␈α
see␈α
description␈α
in␈α
commands␈α
where␈α
used
␈↓ α_␈βεz␈↓¬<FILNAM>␈↓β␈α
--␈α
any␈α
standard␈α
file␈α
name,␈α
such␈α
as␈↓∂␈α
SUDS.RPH[UP,DOC]␈↓β.
␈↓ ↓d␈βπ1␈↓BASIC COMMANDS --- FONT SELECTION, JUSTIFY, CENTERIFY/RIGHTIFY, IGNORE TEXT
␈↓ α_␈βπT␈↓βThe␈α∂purpose␈α∂of␈α∂these␈α∞commands␈α∞is␈α∞to␈α∞select␈α∞the␈α∞style␈α∞and␈α∞size␈α∞of␈α∞printing␈α∞(for␈α∞example,␈α∞font
␈↓ ↓H␈βπr␈↓∂BDI25␈↓β␈α⊂is␈α⊂BODONI-ITALIC,␈α⊂25/200␈α⊂inches␈α⊂high),␈α⊂to␈α⊂enter␈α∂and␈α∂exit␈α∂justify␈α∂mode␈α∂(in␈α∂which␈α∂the␈α∂text␈α∂is
␈↓ ↓H␈βλ⊂␈↓βmassaged␈α
so␈α
that␈α
each␈α
line␈α
is␈αas␈αfull␈αof␈αtext␈αas␈αwill␈αfit␈αand␈αextra␈αpartial-spaces␈αare␈αinserted␈αbetween
␈↓ ↓H␈βλ.␈↓βwords␈α
to␈α
make␈α
the␈α
margins␈α
line␈α
up␈α
exactly),␈α
to␈α
enter␈α
and␈α
exit␈α
rightify␈α
mode␈α
(in␈α
which␈α
text␈α
is␈αaligned
␈↓ ↓H␈βλL␈↓βwith␈α⊃the␈α⊃right-margin␈α⊃but␈α⊃not␈α⊃modified␈α⊃in␈α⊃any␈α⊃other␈α⊃way),␈α⊂to␈α⊂enter␈α⊂and␈α⊂exit␈α⊂centerify␈α⊂mode␈α⊂(like
␈↓ ↓H␈βλj␈↓βpass-as-is␈αand␈αrightify␈αexcept␈αeach␈αline␈αis␈αcentered),␈αand␈αto␈αignore␈αportions␈αof␈αthe␈αinput␈αtext␈αthat␈αyou
␈↓ ↓H␈β	λ␈↓βdo␈α
not␈α
want␈α
processed.
␈↓ ¬o␈β	D␈↓βFONT SELECTION
␈↓ ↓H␈β	`␈↓1␈↓∂M␈↓¬<N><FONT>␈↓∂;␈↓β␈↓ β"(U)␈α⊂--␈α⊂causes␈α⊂the␈α⊂font␈α⊂to␈α⊂be␈α⊂loaded␈α⊂into␈α⊂pox␈α∂(and␈α∂later␈α∂into␈α∂the␈α∂system␈α∂XGP
␈↓ β"␈β
␈↓βservice),␈αand␈αselects␈αit␈αnow␈α--␈αsee␈αnote␈α5␈αand␈αbug␈α2␈α--␈αthis␈αis␈αthe␈αcommand␈αthat
␈↓ β"␈β
≡␈↓βsets␈αup␈αthe␈αcorrespondence␈αbetween␈αfonts␈αand␈αthe␈α
numbers␈α
you␈α
will␈α
use␈α
later␈α
to
␈↓ β"␈β
<␈↓βselect␈α∞them␈α∞--␈α∞type␈α∞to␈α∞the␈α∞system␈↓∂␈α
HELP␈α
FONT␈↓β␈α
to␈α
find␈α
out␈α
about␈α
fonts␈α
that␈α
are
␈↓ β"␈β
Z␈↓βavailable␈α∂and␈α∂how␈α∞to␈α∞peruse␈α∞them␈α∞--␈α∞always␈α∞define␈α∞one␈α∞of␈α∞your␈α∞fonts␈α∞as␈α∞with
␈↓ β"␈β
x␈↓¬<N>␈↓β=␈↓∂0␈↓β,␈αotherwise␈αthe␈αsystem␈α(which␈αalways␈αinsists␈αon␈αhaving␈αfont#␈↓∂0␈↓β␈αaround␈αeven
␈↓ β"␈β⊗␈↓βif␈α
it␈α
has␈α
to␈α
make␈α
it␈αup)␈αwill␈αwaste␈αyour␈αtime␈αby␈αloading␈αone␈αmore␈αfont␈αthan␈αyou
␈↓ β"␈β4␈↓βare␈α
actually␈α
using.
␈↓ ↓H␈βP␈↓1␈↓∂F␈↓¬<N>␈↓β␈↓ β"(U␈αJ␈αCR␈αo)␈α--␈αselects␈αa␈αfont␈αwhich␈αhas␈αalready␈αbeen␈αloaded␈α--␈αall␈αtext␈αafter␈αthis
␈↓ β"␈βn␈↓βcommand␈α
before␈α
the␈α
next␈↓␈α
1␈↓∂F␈↓β␈α
or␈↓␈α
1␈↓∂M␈↓β␈α
will␈α
be␈α
in␈α
font#␈↓¬<N>␈↓β.
␈↓ ↓H␈β␈↓1␈↓∂f␈↓¬<N>␈↓β␈↓ β"(U␈αJ␈αCR)␈α--␈αselects␈αa␈αfont␈αfor␈αjust␈αone␈αcharacter,␈αthen␈αback␈αto␈αold␈αfont.␈αWARNING
␈↓ β"␈β,␈↓β--␈α⊃Do␈α⊃not␈α⊃place␈α⊃the␈α⊃brick␈α⊃character␈α⊃immediately␈α⊃after␈α⊂this␈α⊂command␈α⊂because
␈↓ β"␈βJ␈↓βcurrently␈α∞POX␈α∞will␈α∞quote␈α∞the␈α∞brick␈α∞character␈α
in␈α
the␈α
temporary␈α
font␈α
rather␈α
than
␈↓ β"␈βh␈↓βescaping␈αand␈αquoting␈αthe␈αfirst␈αcharacter␈αof␈αgenerated␈αtext␈αin␈αthe␈αtemporary␈αfont
␈↓ β"␈β
ε␈↓β--␈αbecause␈αthis␈αis␈αregarded␈αas␈αa␈αbug␈α
it␈α
might␈α
be␈α
changed␈α
someday␈α
--␈α
currently␈α
it
␈↓ β"␈β
$␈↓βgenerates␈α
a␈α
warning␈α
message.
␈↓ εε␈β
`␈↓βIGNORE TEXT
␈↓ ↓H␈β
|␈↓1␈↓∂␈↓β (vert. tab)␈↓ β"(U␈α
J␈α
CR␈α
o␈α
A)␈α
--␈α
without␈α
changing␈α
mode,␈α
and␈α
without␈α
allowing␈α
EVERYPAGE␈αto␈αbe
␈↓ β"␈β∞≤␈↓βcalled␈α⊃here,␈α⊃ignore␈α⊃all␈α⊃input␈α⊃text␈α⊃up␈α⊃to␈α⊃and␈α⊃including␈α⊃the␈α⊂next␈α⊂linefeed,␈α⊂thus
␈↓ β"␈β∞:␈↓βconcatination␈α⊂of␈α⊂input␈α⊂lines␈α⊂may␈α⊂be␈α⊂done␈α⊂providing␈α⊂that␈α⊂the␈α∂line-break␈α∂is␈α∂not
␈↓ β"␈β∞X␈↓βinside␈αsome␈αcommand␈αsyntax␈α--␈αif␈αyou␈αdo␈αthis␈αat␈αthe␈αbeginning␈α
of␈α
a␈α
line␈α
it␈α
is␈α
as␈α
if
␈↓ β"␈β∞v␈↓βthe␈α∞whole␈α∞line␈α∞weren't␈α∞there,␈α∞thus␈α
comment␈α
lines␈α
may␈α
be␈α
inserted␈α
anywhere␈α
in
␈↓ β"␈β∂∀␈↓βthe␈α
source␈αfile␈αexcept␈αin␈αthe␈αmiddle␈αof␈αmacro-body-definitions␈αand␈αin␈αthe␈αmiddle
␈↓ β"␈β∂2␈↓βof␈α⊃the␈α⊃syntax␈α⊃of␈α⊃brick-commands␈α⊃--␈α⊃this␈α⊃command␈α⊃is␈α⊃especially␈α⊃useful␈α⊃inside
␈↓ 
j␈↓α 3␈↓ α$␈β⊂ ␈↓αPOX writeup,  edited 1975 DEC 05  07:52 PST,  compiled 1976 SEP 27  20:38 -- page 
␈↓ 
j␈↓α 4␈↓ α$␈β↓α␈↓αPOX writeup,  edited 1975 DEC 05  07:52 PST,  compiled 1976 SEP 27  20:38 -- page 
␈↓ β"␈β↓H␈↓βjustify␈α∞or␈α∞centerify/rightify␈α∞mode␈α∞to␈α∞create␈α∞a␈α∞very␈α∞long␈α∞word␈α
or␈α
a␈α
complicated
␈↓ β"␈β↓f␈↓βformula␈αor␈αa␈αlong␈αsequence␈αof␈αarithmetic␈αoperations␈αwithout␈αleaving␈αthe␈αmode.␈αIt
␈↓ β"␈βα∧␈↓βis␈αalso␈αuseful␈αin␈αPASS-AS-IS␈αto␈αavoid␈αcalling␈αEVERYPAGE␈αjust␈αthen,␈αand␈αin␈α
macros
␈↓ β"␈βα"␈↓βthat␈α
are␈α
likely␈α
to␈α
be␈α
called␈α
from␈α
almost␈α
anywhere.
␈↓ ↓H␈βα>␈↓1␈↓∂N␈↓β␈↓ β"(U␈αJ␈αCR␈αo␈αA)␈α--␈αsame␈αas␈↓␈α1␈↓∂␈↓β␈αfor␈αpeople␈αwho␈αdon't␈αlike␈αvertical␈αtabs␈αin␈αtheir␈αtext
␈↓ β"␈βα↑␈↓βfiles.␈α
(They␈α
print␈α
out␈α
as␈↓¬␈α
<LF><LF><LF><LF>␈↓β␈α
on␈α
TTY's,␈α
dial-up␈α
lines␈α
and␈α
the␈α
LPT,␈α
as
␈↓ β"␈βα|␈↓β"␈↓∂␈↓β"␈α∞on␈α∞local␈α∞DPY's␈α∞and␈α∞the␈α∞XGP,␈α∞as␈α∞<erase-to-end-of-screen>␈α∞on␈α∞some␈α
Beehive
␈↓ β"␈ββ~␈↓βterminals,␈α
and␈α
who-knows-what␈α
on␈α
other␈α
display␈α
terminals␈α
on␈α
the␈α
arpanet.)
␈↓ ↓H␈ββ6␈↓1␈↓∂,␈↓β (comma)␈↓ β"(U␈αJ␈αCR␈α
o␈α
A)␈α
--␈α
same␈α
as␈↓␈α
1␈↓∂␈↓β␈α
except␈α
it␈α
ignores␈α
through␈α
next␈α
form-feed␈α
(page␈α
mark)
␈↓ β"␈ββV␈↓βthereby␈α∪making␈α∪concatinating␈α∪two␈α∪pages␈α∪into␈α∪one␈α∪--␈α∪if␈α∪you␈α∪do␈α∪this␈α∪at␈α∩the
␈↓ β"␈ββt␈↓βbeginning␈α
of␈α
a␈α
page,␈α
it␈α
is␈α
as␈α
if␈α
the␈α
whole␈α
page␈α
weren't␈α
there.
␈↓ ↓H␈β∧⊂␈↓1␈↓∂ ␈↓β (space)␈↓ β"(U␈α∂J␈α∞CR␈α∞o␈α∞A)␈α∞--␈α∞without␈α∞changing␈α∞mode,␈α∞ignore␈α∞all␈α∞input␈α∞text␈α∞(only␈α∞spaces␈α∞and
␈↓ β"␈β∧0␈↓βtabs␈αallowed)␈αup␈αto␈αand␈αincluding␈αthe␈αnext␈αsemicolon.␈αThis␈αis␈αuseful␈αfor␈αindenting
␈↓ β"␈β∧N␈↓βinput-text␈α↔without␈α↔generating␈α↔spaces␈α↔or␈α↔tabs␈α⊗in␈α⊗the␈α⊗output.␈α⊗--␈α⊗Proposed
␈↓ β"␈β∧l␈↓βadditional␈α⊃feature,␈α⊃if␈α⊃spaces␈α⊃and␈α⊃tabs␈α⊃are␈α⊃terminated␈α⊂by␈α⊂a␈α⊂printing␈α⊂character
␈↓ β"␈β¬
␈↓βother␈α
than␈α
semicolon,␈α
that␈α
character␈αwill␈αterminate␈αthis␈αmode␈αbut␈αwill␈αbe␈αunread
␈↓ β"␈β¬(␈↓βbefore␈α
returning␈α
to␈α
previous␈α
mode.
␈↓ ↓H␈β¬D␈↓1␈↓β␈↓ αH (tab)␈↓ β"(U␈α
J␈α
CR␈α
o␈α
A)␈α
--␈α
same␈α
as␈↓␈α
1␈↓β␈α
(space).
␈↓ ∧G␈βεα␈↓βENTER SPECIAL-FORMATTING MODES (J CR)
␈↓ ↓H␈βε≡␈↓1␈↓∂J␈↓β␈↓ β"(U)␈α--␈αbegins␈αfull-justify␈αmode,␈αsee␈αtable␈αbelow␈αfor␈αdetails␈αon␈αthis␈αmode␈αand␈αhow
␈↓ β"␈βε>␈↓βto␈α∩get␈α∩out␈α∩of␈α∩it.␈α∩--␈α∩Be␈α∩aware␈α∩that,␈α∩because␈α∩font␈α⊃selects␈α⊃count␈α⊃as␈α⊃text␈α⊃and
␈↓ β"␈βε\␈↓βtherefore␈α∂must␈α∂be␈α∂inside␈α∂words,␈α∂and␈α∂because␈α∂tabs␈α∂cannot␈α∂be␈α∂in␈α∂the␈α∞middle␈α∞of
␈↓ β"␈βεz␈↓βjustified␈α
lines␈α
of␈α
text,␈α
the␈α
following␈α
input␈α
syntax␈α
is␈α
illegal␈α
and␈α
will␈α
generate␈αthe
␈↓ β"␈βπ⊗␈↓β"illegal␈α∞tab␈α∞in␈α∞justify"␈α
error␈α
message:␈↓¬␈α
<CR><LF>␈↓1␈↓∂J␈↓1␈↓∂F1␈↓¬<TB>␈↓∂This␈α
is␈α
a␈α
paragraph
␈↓ β"␈βπ6␈↓∂of␈α
text␈↓β...
␈↓ ↓H␈βπR␈↓1␈↓∂R␈↓β␈↓ β"(U)␈α⊃--␈α⊃begins␈α⊃single-line␈α⊂align-against-right-margin␈α⊂mode,␈α⊂see␈α⊂table␈α⊂below␈α⊂for
␈↓ β"␈βπr␈↓βdetails␈α
on␈α
this␈α
mode␈α
and␈α
how␈α
to␈α
get␈α
out␈α
of␈α
it.
␈↓ ↓H␈βλ∞␈↓1␈↓∂C␈↓β␈↓ β"(U)␈α--␈αbegins␈αsingle-line␈αcenter-the-line␈αmode,␈αsee␈αtable␈αbelow␈α
for␈α
details␈α
on␈α
this
␈↓ β"␈βλ.␈↓βmode␈α
and␈α
how␈α
to␈α
get␈α
out␈α
of␈α
it.
␈↓ ∧	␈βλj␈↓βEXIT SPECIAL-FORMATTING MODES, ETC. (SEE TABLE)
␈↓ ↓H␈β	ε␈↓1␈↓∂.␈↓β (period)
␈↓ ↓H␈β	$␈↓1␈↓∂;␈↓β (semicolon)␈↓ β"These␈αtwo␈αcommands␈αwill␈α
get␈α
out␈α
of␈α
some␈α
modes␈α
back␈α
to␈α
pass-as-is␈α
mode,␈α
and␈α
do
␈↓ β"␈β	D␈↓βother␈αthings␈αlike␈αignoring␈αtext␈αand␈αsuppressing␈α<CR><LF>␈α--␈αsee␈αtable␈αbelow␈αfor
␈↓ β"␈β	b␈↓βdetails␈α
of␈α
what␈α
each␈α
command␈α
does␈α
inside␈α
each␈α
of␈α
the␈α
modes:
␈∧
~α"α
Z␈∧
~|xα␈∧
~α"xα␈↓ α,␈β
≤␈↓1␈↓∂.␈↓␈↓ ¬n1␈↓∂;␈↓¬␈↓ λ.<CR><LF>␈↓  <TB>␈↓β or ␈↓¬<SP>
␈∧
8(αT␈∧
8(Zα␈↓ 2␈β
:␈↓βPass-as-is␈↓ α,(not supported)␈↓ ¬ndo ␈↓1␈↓∂N␈↓β (see #4)␈↓ λ.copy to output (see #4)␈↓  copy to output
␈↓ 2␈β
X␈↓βJustify␈↓ α,finish, do ␈↓1␈↓∂N␈↓β, (see #5)␈↓ ¬nillegal␈↓ λ.(see #1)␈↓  (see #2)
␈↓ 2␈β
v␈↓βCenterify/Rightify␈↓ α,finish, pass-as-is␈↓ ¬nfinish, do ␈↓1␈↓∂N␈↓β, pass-as-is␈↓ λ.finish, ␈↓¬<CR><LF>␈↓β, pass-as-is␈↓  (see #3)
␈∧∩(αT␈↓ ↓H␈β4␈↓β#1␈α∞--␈α∞A␈α∞blank␈α∞line␈α∞(i.e.␈↓¬␈α
<CR><LF>␈↓β␈α
immediately␈α
followed␈α
by␈↓¬␈α
<CR><LF>␈↓β)␈α
causes␈α
the␈α
previous␈α
paragraph␈α
(if
␈↓ ↓H␈βR␈↓βany␈αis␈αin␈αprogress)␈αto␈αbe␈αfinished,␈αthen␈αa␈αblank␈αline␈αis␈αemitted.␈αAs␈αmany␈αblank␈αlines␈αas␈αappear␈αin␈αinput
␈↓ ↓H␈βp␈↓βwill␈α⊃appear␈α⊃in␈α⊃output␈α⊃(but␈α⊃see␈α⊂BUG#4).␈α⊂The␈α⊂next␈α⊂nonblank␈α⊂line␈α⊂begins␈α⊂a␈α⊂new␈α⊂paragraph.␈α⊂A␈α⊂single
␈↓ ↓H␈β∞␈↓¬<CR><LF>␈↓β␈α
in␈α
a␈α
paragraph␈α
is␈α
merely␈α
a␈α
break␈α
between␈α
words.
␈↓ ↓H␈βJ␈↓β#2␈α--␈αOne␈αor␈αmore␈α
tabs␈α
at␈α
the␈α
beginning␈α
of␈α
a␈α
line␈α
causes␈α
the␈α
previous␈α
paragraph␈α
(if␈α
any␈α
is␈α
in␈α
progress)
␈↓ ↓H␈βh␈↓βto␈α⊃be␈α⊃finished,␈α⊃then␈α⊃a␈α⊃new␈α⊃paragraph␈α⊃is␈α⊃started␈α⊃with␈α⊃its␈α⊂first␈α⊂line␈α⊂indented␈α⊂by␈α⊂the␈α⊂tab(s).␈α⊂Tab(s)
␈↓ ↓H␈β
ε␈↓βelsewhere␈αare␈αillegal.␈αNOTE␈α--␈αThere␈αis␈αcurrently␈αno␈αway␈αto␈αindent␈αby␈αany␈αamount␈αother␈αthan␈αa␈αwhole
␈↓ ↓H␈β
$␈↓βnumber␈α
of␈α
tabs,␈α
nor␈α
is␈α
there␈α
any␈α
way␈α
to␈α
outdent␈α
by␈α
any␈α
amount␈α
at␈α
all.
␈↓ ↓H␈β
`␈↓β#3␈α--␈αTab(s)␈α
and/or␈α
space(s)␈α
at␈α
the␈α
beginning␈α
are␈α
ignored␈α
(in␈α
centerify␈α
this␈α
makes␈α
things␈α
look␈α
pretty,␈α
in
␈↓ ↓H␈β
}␈↓βrightify␈αit␈αdoesn't␈αmake␈αany␈αdifference).␈αElsewhere␈αtabs␈αare␈αillegal␈αand␈α
spaces␈α
are␈α
treated␈α
as␈α
text.␈α
(The
␈↓ ↓H␈β∞≤␈↓βfeature␈αof␈αignoring␈αtabs␈αand␈αspaces␈αat␈α
the␈α
end␈α
is␈α
currently␈α
under␈α
consideration␈α
so␈α
don't␈α
rely␈α
on␈α
spaces
␈↓ ↓H␈β∞:␈↓βbeing␈α
treated␈α
as␈α
text␈α
there.)
␈↓ ↓H␈β∞v␈↓β#4␈α--␈αAfter␈αperforming␈αthe␈αindicated␈αoperation,␈αif␈αthe␈αEVERYPAGE␈αfeature␈αhas␈αbeen␈αrequested␈αfor␈αthis
␈↓ ↓H␈β∂∀␈↓βpage␈α∞(i.e.␈α∞if␈α∞VEREVE␈α∞was␈α∞TRUE␈α∞at␈α∞the␈α∞end␈α∞of␈α∞the␈α∞preceeding␈α∞page)␈α∞but␈α∞not␈α∞yet␈α
performed,␈α
then␈α
the
␈↓ ↓H␈β∂2␈↓βbody␈αof␈α
the␈α
macro␈α
EVERYPAGE␈α
is␈α
patched␈α
into␈α
the␈α
input␈α
stream␈α
at␈α
this␈α
point.␈α
This,␈α
of␈α
course,␈α
is␈α
likely␈α
to
␈↓ 
j␈↓α 4␈↓ α$␈β⊂ ␈↓αPOX writeup,  edited 1975 DEC 05  07:52 PST,  compiled 1976 SEP 27  20:38 -- page 
␈↓ 
j␈↓α 5␈↓ α$␈β↓α␈↓αPOX writeup,  edited 1975 DEC 05  07:52 PST,  compiled 1976 SEP 27  20:38 -- page 
␈↓ ↓H␈β↓H␈↓βclobber␈α
any␈α
registers␈α
(including␈α
the␈α
ac)␈α
that␈αare␈αused␈αby␈αthe␈αEVERYPAGE␈αmacro,␈αunless␈αyou␈αcarefully
␈↓ ↓H␈β↓f␈↓βwrite␈α
your␈α
EVERYPAGE␈α
macro␈α
so␈α
that␈α
it␈α
saves␈α
and␈α
restores␈α
the␈α
ac␈α
and␈α
any␈α
other␈α
registers␈α
it␈α
uses.
␈↓ ↓H␈βα"␈↓β#5␈α∂--␈α∂Register␈α∂"."␈α∂is␈α∂restored␈α∂to␈α∂the␈α∂value␈α∂it␈α∂had␈α∂before␈α∞you␈α∞entered␈α∞justify␈α∞mode,␈α∞then␈α∞control␈α∞is
␈↓ ↓H␈βα@␈↓βpassed␈α
back␈α
to␈α
PASS-AS-IS␈α
mode.␈α
If␈α
"."␈α
was␈α
not␈α
at␈α
the␈α
left␈α
margin,␈α
I␈α
make␈α
no␈α
claims␈αabout␈αwhat␈αPOX
␈↓ ↓H␈βα\␈↓βthinks␈α
you␈α
are␈α
trying␈α
to␈α
do.␈α
I␈α
advise␈α
you␈αto␈αbe␈αsure␈α"."␈αis␈αat␈αleft␈αmargin␈αbefore␈αdoing␈↓␈α1␈↓∂J␈↓β␈αin␈αorder␈αto
␈↓ ↓H␈βα|␈↓βavoid␈α
trouble␈α
and␈α
in␈α
case␈α
the␈α
implementation␈α
is␈α
changed.
␈↓ ¬	␈ββ3␈↓Examples of basic commands
␈↓ α_␈ββV␈↓βIn this writeup I loaded the following fonts (␈↓∂$␈↓β is the escape character):
␈↓ ↓H␈ββt␈↓∂$M0NGR30;$M1NGR30;$M2BDI25;$M3NGR25;$M4NGB25[1,REM];$M5NGR20[1,REM];$M6XMAS25;
␈↓ ↓H␈β∧∩␈↓∂$MFKBD25;$MC75224X.FNT[1,REM];
␈↓ ↓H␈β∧0␈↓β(Note␈αthat␈αNGR30␈αis␈αnot␈αreally␈αloaded␈αtwice␈αbecause␈αwhen␈αPOX␈αsees␈αthe␈↓∂␈α$M1␈↓β...␈αcommand␈αit␈αnotices␈αthat
␈↓ ↓H␈β∧N␈↓∂NGR30␈↓β␈α∂is␈α∂already␈α∂loaded␈α∂as␈α∂font#␈↓∂0␈↓β␈α∂and␈α∂POX␈α∂then␈α∂merely␈α∂maps␈α∂user␈α∂font␈α∂number␈↓∂␈α∂1␈↓β␈α∂to␈α∂system␈α∂font
␈↓ ↓H␈β∧l␈↓βnumber␈↓∂␈α
0␈↓β␈α
by␈α
means␈α
of␈α
the␈α
font␈α
mapping␈α
table␈α
in␈α
POX.
␈↓ α_␈β¬
␈↓βLater␈α
in␈α
this␈α
writeup,␈α
in␈α
a␈α
required-source␈α
file,␈α
the␈α
following␈α
load-font␈α
commands␈α
appear:
␈↓ ↓H␈β¬(␈↓∂\M0CLAR30;\M1NGB25[1,REM];\M2NGR20[1,REM];\M3BDI25;
␈↓ ↓H␈β¬F␈↓∂\M9GRK30;\MEGRKL50;\MF75224X.FNT[1,REM];
␈↓ ↓H␈β¬d␈↓βOnly␈αthe␈αfonts␈αnot␈αpreviously␈αloaded␈αare␈αloaded␈αnow.␈αThe␈αrest␈αare␈αmerely␈α
mapped␈α
to␈α
their␈α
system␈α
font
␈↓ ↓H␈βεα␈↓βnumbers␈α
(assigned␈α
when␈α
first␈α
loaded)␈α
from␈α
their␈α
new␈α
user␈α
font␈α
numbers.
␈↓ α_␈βε≡␈↓βThis␈αparagraph␈αand␈αall␈αother␈αjustified␈αtext␈αat␈αnormal␈αmargins␈αwas␈αdone␈αby␈α
using␈↓␈α
1␈↓∂J␈↓β␈α
to␈α
enter␈α
and
␈↓ ↓H␈βε<␈↓1␈↓∂.␈↓β␈α
to␈α
exit␈α
justify␈α
mode.␈α
(See␈α
the␈α
section␈α
on␈α
REGISTERS␈α
for␈α
how␈α
indented␈α
paragraphs␈αof␈αdescriptions
␈↓ ↓H␈βεZ␈↓βafter␈α
each␈α
command␈α
syntax␈α
was␈α
done␈α
by␈α
the␈↓␈α1␈↓∂j␈↓β␈αcommand.)␈αThe␈αtitle␈αon␈αthe␈αfirst␈αpage␈αis␈αin␈αcenterify
␈↓ ↓H␈βεx␈↓βmode,␈α
using␈↓␈α
1␈↓∂C␈↓β␈α
to␈αenter␈αand␈↓¬␈α<CR><LF>␈↓β␈αto␈αexit.␈α(The␈αtitles␈αon␈αother␈αpages␈αare␈αdone␈αby␈αoverlays,␈αwhich
␈↓ ↓H␈βπ_␈↓βare␈α
also␈α
explained␈α
later␈α
in␈α
this␈α
writeup.)
␈↓ α_␈βπT␈↓βHere␈α
are␈α
some␈α
further␈α
examples␈α
of␈α
the␈α
above␈α
commands:
␈↓ ↓H␈βπr␈↓∂$F1This line $F2is in $F3several fonts.  $f1Temp $f1font $f1selects
␈↓ ↓H␈βλ␈↓This line ␈↓αis in ␈↓βseveral fonts.  ␈↓T␈↓βemp ␈↓f␈↓βont ␈↓s␈↓βelects
␈↓ ↓H␈βλL␈↓∂$F5$CThis line has antidisestablishmentarianismfoogarplylongwordthatis$N
␈↓ ↓H␈βλj␈↓∂allinthesinglewordininthemiddleofthislineofcenteredtext as you see.
␈↓ ↓e␈β	␈↓¬This line has antidisestablishmentarianismfoogarplylongwordthatisallinthesinglewordininthemiddleofthislineofcenteredtext as you see.
␈↓ ↓H␈β	D␈↓∂$F3Hello there.$RWell, hello to you too$;
␈↓ ↓H␈β	b␈↓∂$C(Middle on same line)
␈↓ ↓H␈β
␈↓βHello there.␈↓ 	ZWell, hello to you too␈↓ ¬S(Middle on same line)
␈↓ ↓H␈β
<␈↓∂$F3Left part $f1$CThis didn't get centered, see next example for fix
␈↓ ↓H␈β
U␈↓βLeft part ␈↓$␈↓βCThis didn't get centered, see next example for fix
␈↓ ↓H␈β⊗␈↓∂$F3Left part $C$f1This got centered ok.
␈↓ ↓H␈β/␈↓βLeft part ␈↓␈↓ ¬PT␈↓βhis got centered ok.
␈↓ ↓H␈βp␈↓∂$F3For the same reason $f1$'14; doesn't do what you would want.
␈↓ ↓H␈β	␈↓βFor the same reason ␈↓$␈↓β'14; doesn't do what you would want.
␈↓ ↓H␈βJ␈↓∂$F3But in this case some commands discussed later, $#$F1$'14;$G, do the trick.
␈↓ ↓H␈βc␈↓βBut in this case some commands discussed later, ␈↓␈␈↓β, do the trick.
␈↓ ελ␈β
∨␈↓REGISTERS
␈↓ α_␈β
5␈↓βThere␈α∩are␈α∩2␈↓#
7␈↓#=128␈α∩registers␈α∩which␈α∩can␈α∩hold␈α∩any␈α∩36-bit␈α∩integer␈α∩(PDP-10␈α∩two's␈α∩complement
␈↓ ↓H␈β
`␈↓βformat),␈α∞such␈α∞as␈α∞the␈α∞horizontal␈α∞coordinate␈α∞of␈α
some␈α
column␈α
on␈α
the␈α
page.␈α
(␈↓αNote␈↓β␈α
--␈α
all␈α
locations␈α
on␈α
the
␈↓ ↓H␈β
}␈↓βXGP,␈αwhether␈αrelative␈αor␈αabsolute,␈αare␈αmeasured␈αin␈αXGP␈αpixels␈αwhich␈αare␈αabout␈α5␈αmils,␈αi.e.␈α1/200␈αinch)
␈↓ ↓H␈β∞≤␈↓βThe␈α∞idea␈α∞is␈α∞to␈α∞allow␈α∞specification␈α∞of␈α
multi-column␈α
tables␈α
and␈↓α␈α
superscripts-above-subscripts␈↓β␈α
in␈α
an␈α
easy
␈↓ ↓H␈β∞:␈↓βand␈α
flexable␈α
way,␈α
including␈α
automatic␈α
allocation␈α
of␈α
such␈α
things␈α
as␈α"␈↓α1/5␈αof␈αa␈αpage␈↓β"␈αby␈αsimple␈αdivision,
␈↓ ↓H␈β∞X␈↓βand␈α⊂to␈α∂perform␈α∂any␈α∂other␈α∂integer␈α∂arithmetic␈α∂or␈α∂logic␈α∂that␈α∂might␈α∂be␈α∂useful␈α∂during␈α∂compilations␈α∂of␈α∂a
␈↓ ↓H␈β∞v␈↓βdocument.␈α⊃Each␈α⊃register␈α⊃is␈α⊃specified␈α⊂by␈α⊂an␈α⊂ASCII␈α⊂character.␈α⊂(␈↓αNote␈↓β␈α⊂--␈α⊂in␈α⊂general,␈α⊂POX␈α⊂distinguishes
␈↓ ↓H␈β∂∀␈↓βbetween␈α⊂upper-␈α⊂and␈α⊂lower-case␈α⊂characters␈α⊂--␈α⊂for␈α⊂example,␈α⊂"␈↓∂k␈↓β"␈α⊂and␈α⊂"␈↓∂K␈↓β"␈α⊂do␈α⊂not␈α∂refer␈α∂to␈α∂the␈α∂same
␈↓ ↓H␈β∂2␈↓βregister.)␈αOne␈αof␈αthe␈αnon-alphanumeric␈αregisters␈α(currently␈αregister␈↓∂␈α∀␈↓β)␈αis␈αcalled␈αthe␈α"␈↓αaccumulator␈↓β"␈αand
␈↓ 
j␈↓α 5␈↓ α$␈β⊂ ␈↓αPOX writeup,  edited 1975 DEC 05  07:52 PST,  compiled 1976 SEP 27  20:38 -- page 
␈↓ 
j␈↓α 6␈↓ α$␈β↓α␈↓αPOX writeup,  edited 1975 DEC 05  07:52 PST,  compiled 1976 SEP 27  20:38 -- page 
␈↓ ↓H␈β↓H␈↓βis␈α∂the␈α∂intermediate␈α∂storage␈α∂for␈α∞most␈α∞sequences␈α∞of␈α∞arithmetic␈α∞calculation.␈α∞Other␈α∞special␈α∞registers␈α∞are
␈↓ ↓H␈β↓f␈↓βlisted␈α∞below,␈α∞as␈α∞well␈α∞as␈α∞characters␈α∞that␈α∞don't␈α∞specify␈α∞registers␈α∞at␈α
all.␈α
(␈↓αWarning␈↓β␈α
--␈α
non-alphanumeric
␈↓ ↓H␈βα∧␈↓βregister␈α∂names␈α∂are␈α∞liable␈α∞to␈α∞be␈α∞changed␈α∞to␈α∞special␈α∞arguments␈α∞like␈α∞"."␈α∞and␈α∞","␈α∞without␈α∞much␈α∞warning.
␈↓ ↓H␈βα"␈↓βTherefore,␈α
please␈α
use␈α
only␈α
alphanumeric␈α
register␈α
names␈α
in␈α
files␈α
that␈α
you␈α
will␈α
be␈α
unwilling␈α
to␈α
maintain.)
␈↓ ↓H␈βαY␈↓Meaning of argument(s) to the commands:
␈↓ ↓H␈βα|␈↓¬<CH>␈↓β␈↓ β"If␈α
not␈α
mentionned␈α
below,␈α
contents␈α
of␈α
register␈α
corresponding␈α
to␈α
that␈α
character.
␈↓ ↓H␈ββ~␈↓∂. ␈↓β(period)   ␈↓ β"Current␈α⊂column␈α∂location␈α∂(increases␈α∂as␈α∂you␈α∂move␈α∂to␈α∂the␈α∂right)␈α∂is␈α∂stored␈α∂in␈α∂the
␈↓ β"␈ββ8␈↓βright␈α⊃half␈α⊃of␈α⊃this␈α⊃register.␈α⊃Every␈α⊃time␈α⊃a␈α⊂character␈α⊂is␈α⊂written,␈α⊂this␈α⊂register␈α⊂is
␈↓ β"␈ββV␈↓βupdated␈α
to␈α
account␈α
for␈α
the␈α
space␈αused␈αup␈αby␈αthe␈αcharacter,␈αand␈αif␈αyou␈αwrite␈αin
␈↓ β"␈ββt␈↓βthis␈α
register,␈α
a␈α
column␈α
select␈α
will␈α
be␈αgenerated␈αin␈αyour␈αoutput␈αfile␈αto␈αreally␈αput
␈↓ β"␈β∧∩␈↓βyou␈αthere.␈α(U)␈αIn␈αpass-as-is␈αmode,␈αthis␈αcolumn␈αlocation␈αis␈α
relative␈α
to␈α
the␈α
left␈α
edge
␈↓ β"␈β∧0␈↓βof␈αthe␈αpaper␈αand␈αshould␈αbe␈αin␈αthe␈αrange␈αof␈α50␈α
to␈α
1650␈α
(decimal)␈α
usually.␈α
The␈α
left
␈↓ β"␈β∧N␈↓βhalf␈α
of␈α
this␈α
register␈α
is␈α
zero␈α
in␈α
this␈α
case.␈α
(J)␈α
In␈αjustify␈αmode,␈αit␈αis␈αrelative␈αto␈αthe
␈↓ β"␈β∧l␈↓βbeginning␈α⊂of␈α⊂the␈α⊂current␈α⊂word␈α⊂of␈α⊂text␈α⊂(delimited␈α⊂by␈↓¬␈α⊂<SP>␈↓β␈α⊂or␈↓¬␈α⊂<TB>␈↓β␈α⊂or␈↓¬␈α∂<CR><LF>␈
␈↓ β"␈β¬
␈↓βexcept␈α∩that␈↓¬␈α∩<SP>␈↓β␈α∩does␈α∩not␈α∩delimit␈α∩if␈α∩it␈α∩is␈α∩not␈α∩on␈α⊃the␈α⊃baseline).␈α⊃A␈α⊃relocation
␈↓ β"␈β¬(␈↓βidentifier␈α∞is␈α∞in␈α∞the␈α∞left␈α∞half␈α∞of␈α∞the␈α∞register␈α∞to␈α∞allow␈α∞checking␈α∞for␈α∞illegal␈α
column
␈↓ β"␈β¬F␈↓βselects.␈α⊃(CR)␈α⊃In␈α⊃centerify/rightify␈α⊃mode,␈α⊃it␈α⊂is␈α⊂relative␈α⊂to␈α⊂the␈α⊂beginning␈α⊂of␈α⊂the
␈↓ β"␈β¬d␈↓βcentered/rightified␈α
text␈α
with␈αa␈αpassword␈αin␈αthe␈αleft␈αhalf␈αas␈αif␈αthe␈αtext␈αwere␈αone
␈↓ β"␈βεα␈↓βbig␈α↔word.␈α↔--␈α↔In␈α↔atomic-text-overlays␈α↔and␈α↔arguments␈α↔to␈α⊗macros,␈α⊗it␈α⊗is␈α⊗not
␈↓ β"␈βε ␈↓βimplemented␈α∞although␈α∞you␈α∞are␈α∞not␈α
prevented␈α
from␈α
totally␈α
screwing␈α
yourself␈α
by
␈↓ β"␈βε>␈↓βthe␈αattempt␈αto␈αstore␈αin␈αthis␈αregister,␈αor␈αgetting␈αworthless␈αundocumented␈αdata␈αby
␈↓ β"␈βε\␈↓βreading␈α
from␈α
this␈α
register.
␈↓ ↓H␈βεz␈↓∂, ␈↓β(comma)    ␈↓ β"This␈αregister␈αworks␈αsomewhat␈αlike␈αperiod,␈αcurrent␈αrelative␈αposition␈αof␈αtext␈αabove
␈↓ β"␈βπ⊂␈↓βbaseline␈α(if␈αnegative,␈α
below␈α
baseline)␈α
--␈α
thus␈↓␈α
1␈↓∂←␈↓εq␈↓1␈↓∂→,␈↓β␈α
replaces␈↓␈α
1␈↓∂↑␈↓εq␈↓β␈α
and␈↓␈α
1␈↓∂↓␈↓εq␈↓β'␈α
as
␈↓ β"␈βπ4␈↓βwell␈α
as␈↓␈α
1␈↓∂∩␈↓β␈α
and␈↓␈α
1␈↓∂∪␈↓β.␈α
(U␈α
J␈α
CR)
␈↓ ↓H␈βπT␈↓∂; ␈↓β(semicolon)␈↓ β"Like␈α"."␈αor␈α","␈α--␈αabsolute␈αposition␈αbelow␈αtop␈αof␈αpage␈α(if␈αenabled,␈αsee␈αnote␈α4␈αand
␈↓ β"␈βπp␈↓βthe␈↓␈α
1␈↓∂⊂␈↓β␈α
command).
␈↓ ↓H␈βλ⊂␈↓∂L␈↓β␈↓ β"Left␈αmargin␈αis␈αstored␈αin␈αthis␈αregister␈α(<CR>␈αcauses␈α
column␈α
select␈α
here␈α
--␈α
see␈α
also
␈↓ β"␈βλ,␈↓1␈↓∂J␈↓␈α
1␈↓∂C␈↓␈α
1␈↓∂R␈↓␈α
1␈↓∂O␈↓␈α
1␈↓∂W␈↓β).
␈↓ ↓H␈βλL␈↓∂R␈↓β␈↓ β"Right␈αmargin␈α(for␈αJ␈αand␈αCR␈αmodes,␈αand␈αfor␈αwarning␈αyou␈α
if␈α
you␈α
try␈α
to␈α
write␈α
past␈α
it
␈↓ β"␈βλj␈↓βin␈α
pass-as-is␈α
mode)␈α
is␈α
stored␈α
in␈α
this␈α
register.
␈↓ ↓H␈β	&␈↓∂'␈↓¬<SIGNED OR UNSIGNED OCTAL NUMBER>␈↓∂;
␈↓ β"␈β	D␈↓βInstead␈αof␈αreading␈αa␈α
number␈α
from␈α
a␈α
register,␈α
these␈α
octal␈α
digits␈α
are␈α
assembled␈α
into
␈↓ β"␈β	b␈↓βa␈α
constant␈α
and␈α
that␈α
constant␈α
acts␈α
as␈α
an␈α
immediate␈α
operand␈α
(READONLY).
␈↓ ↓H␈β
␈↓∂=␈↓¬<SIGNED OR UNSIGNED DECIMAL NUMBER>␈↓∂;␈↓β␈↓ ¬HSame as above except decimal conversion (READONLY).
␈↓ ↓H␈β
≡␈↓∂w␈↓¬<CH>␈↓β␈↓ β"Width␈α
of␈α
character␈↓¬␈α
<CH>␈↓β␈α
in␈α
current␈α
font␈α
(READONLY).
␈↓ ↓H␈β
:␈↓∂H␈↓β␈↓ β"Total␈α
height␈α
of␈α
current␈α
font␈α
(READONLY)␈α
(if␈α
enabled,␈α
see␈α
the␈↓␈α
1␈↓∂⊂␈↓β␈α
command).
␈↓ ↓H␈β
X␈↓∂h␈↓β␈↓ β"Height␈α∀above␈α∀baseline␈α∀of␈α∀current␈α∀font␈α∪(READONLY)␈α∪(if␈α∪enabled,␈α∪see␈α∪the␈↓␈α∪1␈↓∂⊂
␈↓ β"␈β
x␈↓βcommand).
␈↓ α_␈β4␈↓βThe␈α⊃arguments␈α⊃marked␈α⊃"(READONLY)"␈α⊃above␈α⊃are␈α⊃forbidden␈α⊃in␈α⊃certain␈α⊃commands␈α⊂because␈α⊂the
␈↓ ↓H␈βR␈↓βcommand␈α∞expects␈α∞to␈α∞have␈α∞a␈α∞genuine␈α∞register␈α∞to␈α∞store␈α
data␈α
into.␈α
This␈α
restriction␈α
will␈α
be␈α
indicated␈α
by
␈↓ ↓H␈βp␈↓β"READONLY␈α
operands␈α
not␈α
allowed"␈α
in␈α
the␈α
command␈α
descriptions.
␈↓ α_␈β∞␈↓βThroughout␈αthe␈αremainder␈αof␈αthis␈αwriteup,␈α
command-arguments␈α
that␈α
that␈α
are␈α
parsed␈α
in␈α
the␈α
above
␈↓ ↓H␈β,␈↓βway␈α∂will␈α∂be␈α∂denoted␈α∂by␈α∂various␈α∂alphanumeric␈α∂characters␈α∂in␈α∞a␈α∞special␈α∞font,␈α∞to␈α∞distinguish␈α∞them␈α∞from
␈↓ ↓H␈βJ␈↓βcharacters␈α∞that␈α∞you␈α∞are␈α∞supposed␈α∞to␈α∞actually␈α
type␈α
(which␈α
are␈α
in␈α
a␈α
keyboard-style␈α
font␈α
as␈α
described
␈↓ ↓H␈βh␈↓βearlier),␈α
and␈α
BNF-style␈αsyntactical␈αentities␈α(which␈αare␈αin␈αyet␈αanother␈αfont␈αas␈αalso␈αshown␈αearlier).␈αHere
␈↓ ↓H␈β
ε␈↓βare␈α
what␈α
the␈α
alphanumerics␈α
look␈α
like␈α
in␈α
the␈α
argument␈α
font:
␈↓ ↓H␈β
≤␈↓εabcdefghijklmnopqrstuvwxyz
␈↓ ↓H␈β
[␈↓The commands that use the types of arguments described above:
␈↓ ∧;␈β
}␈↓βLOAD/STORE/ARITHMETIC/LOGIC OPERATIONS
␈↓ ↓H␈β∞∀␈↓1␈↓∂←␈↓εq␈↓β␈↓ ββ(U␈α
J␈α
CR␈α
o␈α
A)␈α
--␈α
load␈α
ac␈α
from␈↓ε␈α
q␈↓β.
␈↓ ↓H␈β∞2␈↓1␈↓∂→␈↓εq␈↓β␈↓ ββ(U␈α⊂J␈α⊂CR␈α⊂o␈α⊂A)␈α⊂--␈α∂store␈α∂contents␈α∂of␈α∂ac␈α∂into␈↓ε␈α∂q␈↓β,␈α∂READONLY␈α∂operands␈α∂not
␈↓ ββ␈β∞X␈↓βallowed.␈αWARNING␈α--␈αDo␈αnot␈αstore␈αin␈αregisters␈α"."␈α","␈αor␈α";"␈αexcept␈αwhere
␈↓ ββ␈β∞v␈↓βlegal.␈α
POX␈α
will␈α
get␈α
confused␈α
if␈α
you␈α
do.␈α
See␈α
argument␈α
description␈α
above.
␈↓ ↓H␈β∂␈↓1␈↓∂+␈↓εq␈↓∂ ␈↓1␈↓∂-␈↓εq
␈↓ ↓H␈β∂*␈↓1␈↓∂*␈↓εq␈↓∂ ␈↓1␈↓∂/␈↓εq␈↓β␈↓ ββ(U␈α⊃J␈α⊃CR␈α⊃o␈α⊃A)␈α⊃--␈α⊃usual␈α⊃arithmetic␈α⊃--␈α⊂ac␈α⊂plus/minus/times/dividedby␈↓ε␈α⊂q␈↓β,
␈↓ 
j␈↓α 6␈↓ α$␈β⊂ ␈↓αPOX writeup,  edited 1975 DEC 05  07:52 PST,  compiled 1976 SEP 27  20:38 -- page 
␈↓ 
j␈↓α 7␈↓ α$␈β↓α␈↓αPOX writeup,  edited 1975 DEC 05  07:52 PST,  compiled 1976 SEP 27  20:38 -- page 
␈↓ ββ␈β↓H␈↓βresult␈α
in␈α
ac.
␈↓ ↓H␈β↓↑␈↓1␈↓∂%␈↓εq␈↓β␈↓ ββ(U␈αJ␈αCR␈αo␈αA)␈α--␈α"modulo"␈α--␈αac␈αdivided␈αby␈↓ε␈αq␈↓β,␈αremainder␈αin␈αac.␈α--␈αif␈αthe␈α
ac
␈↓ ββ␈β↓|␈↓βis␈α⊃nonnegative␈α⊃and␈↓ε␈α⊂q␈↓β␈α⊂is␈α⊂positive,␈α⊂this␈α⊂corresponds␈α⊂to␈α⊂reducing␈α⊂the␈α⊂ac
␈↓ ββ␈βα~␈↓βmodulo␈↓ε␈α≤q␈↓β␈α≤(number␈α≤theory),␈α≤otherwise␈α≠the␈α≠result␈α≠is␈α≠nonstandard
␈↓ ββ␈βα@␈↓βmathematically,␈α
and␈α
indeed␈α
machine-dependent.
␈↓ ↓H␈βαV␈↓1␈↓∂¬␈↓εq␈↓∂ ␈↓1␈↓∂\␈↓εq␈↓β␈↓ ββ(U␈α
J␈α
CR␈α
o␈α
A)␈α
--␈α
reverse␈α
arithmetic␈α
--␈↓ε␈α
q␈↓β␈α
minus/dividedby␈α
ac,␈α
result␈α
in␈α
ac.
␈↓ α&␈βαz␈↓¬[Note -- since -1 is stored in the PDP-10 as all-ones, the POX command ␈↓1␈↓∂¬'-1;␈↓¬ will logically complement the ac.]
␈↓ ↓H␈ββ∩␈↓1␈↓∂∧␈↓εq␈↓∂ ␈↓1␈↓∂∨␈↓εq␈↓∂ ␈↓β␈↓ ββ(U␈α
J␈α
CR␈α
o␈α
A)␈α
--␈α
usual␈α
logical␈α
operations␈α
--␈α
ac␈α
and/or␈↓ε␈α
q␈↓β,␈α
result␈α
in␈α
ac.
␈↓ ↓H␈ββ0␈↓1␈↓∂L␈↓εq␈↓β␈↓ ββ(U␈αJ␈αCR␈αo␈αA)␈α--␈αlogical␈αshift␈αof␈αac␈αleft␈αby␈↓ε␈αq␈↓β␈αbits␈α(if␈↓ε␈αq␈↓β<0␈αthen␈αshift␈αright),
␈↓ ββ␈ββV␈↓βresult␈α
in␈α
ac.
␈↓ ↓H␈ββl␈↓1␈↓∂~␈↓εq␈↓β␈↓ ββ(U␈α
J␈α
CR␈α
o␈α
A)␈α
--␈α
maximum␈α
of␈α
ac␈α
and␈↓ε␈α
q␈↓β,␈α
result␈α
in␈α
ac.
␈↓ ↓H␈β∧
␈↓1␈↓∂_␈↓εq␈↓β␈↓ ββ(U␈α
J␈α
CR␈α
o␈α
A)␈α
--␈α
minimum␈α
of␈α
ac␈α
and␈↓ε␈α
q␈↓β,␈α
result␈α
in␈α
ac.
␈↓ ∧k␈β∧N␈↓βSUBSCRIPT/SUPERSCRIPT COMMANDS
␈↓ ↓H␈β∧d␈↓1␈↓∂↑␈↓εq␈↓β␈↓ ββ(U␈α
J␈α
CR␈α
o)␈α
--␈α
move␈α
text␈α
up␈↓ε␈α
q␈↓β␈α
with␈α
respect␈α
to␈α
the␈α
baseline.
␈↓ ↓H␈β¬α␈↓1␈↓∂↓␈↓εq␈↓β␈↓ ββ(U␈α
J␈α
CR␈α
o)␈α
--␈α
move␈α
text␈α
down␈↓ε␈α
q␈↓β␈α
with␈α
respect␈α
to␈α
the␈α
baseline.
␈↓ ↓H␈β¬&␈↓1␈↓∂∩␈↓β␈↓ ββ(U␈α∞J␈α∞CR␈α∞o)␈α∞--␈α∞up␈α∞to␈α∞default␈α∞superscript␈α∞location␈α∞(a␈α∞fixed␈α∞portion␈α∞of␈α∞the
␈↓ ββ␈β¬F␈↓βheight␈αof␈αcurrent␈αfont),␈αeasier␈αthan␈αstoring␈αa␈αpositive␈αconstant␈αin␈αregister
␈↓ ββ␈β¬\␈↓β","␈α∞or␈α∞setting␈α∞up␈α∞a␈α∞positive␈α∞constant␈α∞in␈α∞some␈α∞register␈↓ε␈α∞q␈↓β␈α
and␈α
then␈α
using
␈↓ ββ␈β¬z␈↓1␈↓∂↑␈↓εq␈↓β.
␈↓ ↓H␈βε≡␈↓1␈↓∂∪␈↓β␈↓ ββ(U␈α∞J␈α∞CR␈α∞o)␈α∞--␈α∞down␈α∞to␈α
default␈α
subscript␈α
location␈α
(a␈α
fixed␈α
portion␈α
of␈α
the
␈↓ ββ␈βε>␈↓βheight␈αof␈αcurrent␈αfont),␈αeasier␈αthan␈αstoring␈αa␈αnegative␈αnumber␈αin␈αregister
␈↓ ββ␈βεT␈↓β","␈α∞or␈α∞setting␈α∞up␈α∞a␈α∞positive␈α∞constant␈α∞in␈α∞some␈α∞register␈↓ε␈α∞q␈↓β␈α
and␈α
then␈α
using
␈↓ ββ␈βεr␈↓1␈↓∂↓␈↓εq␈↓β.
␈↓ ↓H␈βπ⊗␈↓1␈↓∂⊗␈↓β␈↓ ββ(U␈αJ␈αCR␈αo)␈α--␈αback␈αto␈αnormal␈αbaseline␈αfrom␈α
superscript␈α
or␈α
subscript,␈α
don't
␈↓ ββ␈βπ4␈↓βforget␈α
this!␈α
--␈α
easier␈α
than␈↓␈α
1␈↓∂↑=0;␈↓β␈α
or␈↓␈α
1␈↓∂↓=0;␈↓β␈α
or␈↓␈α
1␈↓∂←=0;␈↓1␈↓∂→,
␈↓ ¬≡␈βπr␈↓βUNDERLINE OR FRACTION BAR
␈↓ ↓H␈βλλ␈↓1␈↓∂U␈↓εlatr␈↓β␈↓ ββ(U)␈α--␈αunderline␈αfrom␈αcolumn␈↓ε␈α
l␈↓β␈α
to␈α
column␈↓ε␈α
r␈↓β,␈α
on␈α
scan␈α
line␈↓ε␈α
a␈↓β␈α
relative␈α
to␈α
the
␈↓ ββ␈βλ&␈↓βbaseline␈α~(␈↓εa␈↓β>0␈α~moves␈α~the␈α→underline␈α→down),␈α→with␈α→line␈α→thickness␈↓ε␈α→t
␈↓ ββ␈βλD␈↓β(extending␈α∂downward␈α∞from␈α∞scan␈α∞line␈↓ε␈α∞a␈↓β␈α∞if␈↓ε␈α∞t␈↓β>1).␈α∞See␈α∞the␈α∞example␈α∞at␈α∞the
␈↓ ββ␈βλj␈↓βend␈α
of␈α
these␈α
commands.
␈↓ ↓H␈β	ε␈↓1␈↓∂{␈↓β␈↓ ββ(U␈α
J␈α
CR␈α
o)␈α
--␈α
start␈α
underline,␈α
see␈α
UUO␈α
manual␈α
under␈α
XGP␈α
service.
␈↓ ↓H␈β	≡␈↓1␈↓∂}␈↓εat␈↓β␈↓ ββ(U␈α
J␈α
CR␈α
o)␈α--␈αin␈αconjunction␈αwith␈↓␈α1␈↓∂{␈↓β,␈αend␈αunderline,␈αon␈αscan␈αline␈↓ε␈αa␈↓β␈αwith
␈↓ ββ␈β	<␈↓βthickness␈↓ε␈α∂t␈↓β␈α∂(Note␈α∞that␈α∞this␈α∞command␈α∞isn't␈α∞correctly␈α∞implemented␈α∞in␈α∞POX
␈↓ ββ␈β	a␈↓βversions␈α⊃before␈α⊃1975␈↓#↓ ␈↓#MAY␈↓#↓ ␈↓#11,␈α⊃so␈α⊃don't␈α⊂try␈α⊂to␈α⊂use␈α⊂this␈α⊂feature␈α⊂in␈α⊂old
␈↓ ββ␈β
␈↓βbackups␈α
of␈α
POX␈α
or␈α
you␈α
will␈α
get␈α
quite␈α
confused.)
␈↓ βC␈β
<␈↓βENTER SPECIAL-FORMATTING MODES WITH ALTERNATE MARGINS
␈↓ ↓H␈β
X␈↓1␈↓∂j␈↓β ␈↓1␈↓∂r␈↓β or ␈↓1␈↓∂c␈↓β␈↓ ββ(U)␈α↔--␈α↔same␈α↔as␈↓␈α↔1␈↓∂J␈↓␈α↔1␈↓∂R␈↓β␈α↔or␈↓␈α↔1␈↓∂C␈↓β␈α⊗(respectively)␈α⊗except␈α⊗they␈α⊗set␈α⊗up
␈↓ ββ␈β
x␈↓βtemporary␈αmargins␈αfrom␈αregisters␈↓∂␈αl␈↓β␈αand␈↓∂␈αr␈↓β,␈αthen␈αrestore␈↓∂␈αL␈↓β␈αand␈↓∂␈αR␈↓β␈αto␈αtheir
␈↓ ββ␈β⊗␈↓βold␈α⊃values␈α⊃upon␈α⊃exit.␈α⊃[Note␈α⊃that␈α⊂a␈↓¬␈α⊂<CR>␈↓β␈α⊂occurring␈α⊂inside␈α⊂one␈α⊂of␈α⊂these
␈↓ ββ␈β2␈↓βcommands,␈αsuch␈αas␈αwhen␈↓¬␈α<CR>␈↓β␈αon␈αinput␈αterminates␈↓␈α1␈↓∂r␈↓β␈αor␈↓␈α1␈↓∂c␈↓β,␈αwill␈αset␈αthe
␈↓ ββ␈βR␈↓βpage␈α∂printer␈α∂at␈α∂the␈↓∂␈α∂l␈↓β␈α∂rather␈α∂than␈↓∂␈α∂L␈↓β␈α∂margin.␈α∂Thus,␈α∂although␈α∞only␈α∞the␈↓∂␈α∞r
␈↓ ββ␈βp␈↓βregister␈α
needs␈α
to␈α
be␈α
loaded␈α
for␈α
the␈α
rightify␈α
per-se,␈α
the␈↓∂␈α
l␈↓β␈α
register␈αmust
␈↓ ββ␈β∞␈↓βbe␈α_loaded␈α_to␈α_something␈α_reasonable␈α_for␈α↔it␈α↔to␈α↔terminate␈α↔with␈↓¬␈α↔<CR>
␈↓ ββ␈β,␈↓βcorrectly.]
␈↓ ∧∨␈βh␈↓βGENERATING AND QUOTING SPECIAL CHARACTERS
␈↓ ↓H␈β
∧␈↓1␈↓∂'␈↓¬<OCTAL DIGITS>␈↓∂;␈↓β␈↓ βS(U)␈α--␈α
accepts␈α
an␈α
octal␈α
value␈α
and␈α
transmits␈α
it␈α
preceded␈α
by␈α
a␈α
rubout.
␈↓ ββ␈β
$␈↓βThis␈α
is␈α
used␈α
for␈α
printing␈α
the␈α
characters␈α
that␈α
are␈α
hidden␈α
under␈α
octal␈α
values
␈↓ ββ␈β
B␈↓β0,11,12,14,15␈α∞and␈α∞177.␈α∞WARNING␈α∞--␈α∞Octal␈α∞values␈α∞of␈α∞1␈α∞thru␈α∞4␈α∞will␈α∞cause
␈↓ ββ␈β
`␈↓βXGP-escape␈αto␈αoccur,␈αthen␈αthe␈αXGP␈αservice␈αwill␈αeat␈αone␈αor␈αmore␈αbytes␈αof
␈↓ ββ␈β
}␈↓βwhatever␈αhappens␈αto␈αbe␈αnext␈αin␈αthe␈αoutput␈αfile.␈αThe␈αresult␈αis␈αthat␈αif␈αyou
␈↓ ββ␈β∞≤␈↓βhave␈α∞the␈α∞simulator␈α
on,␈α
or␈α
for␈α
any␈α
other␈α
reason␈α
cannot␈α
predict␈α
what␈α
the
␈↓ ββ␈β∞:␈↓βnext␈α∞bytes␈α∞generated␈α∞will␈α∞be,␈α∞unpredictable␈α∞things␈α∞may␈α∞occur.␈α∞The␈α
only
␈↓ ββ␈β∞X␈↓βreason␈α∂POX␈α∂does␈α∂not␈α∂generate␈α∂an␈α∂error␈α∂is␈α∂because␈α∂Ralph␈α∂Gorin␈α∂insists
␈↓ ββ␈β∞t␈↓βthat␈α∞old␈α∞files␈α∞that␈α∞do␈α∞such␈α∞things␈α∞as␈↓␈α∞1␈↓∂'3;↓↓␈↓β␈α∞(instead␈α∞of␈α
the␈α
preferable
␈↓ ββ␈β∂∩␈↓1␈↓∂←'201;␈↓1␈↓∂Y␈↓β)␈αwill␈αcontinue␈αto␈αwork␈αas␈αthey␈αalways␈αdid.␈α
(Note,␈α
the␈α
function
␈↓ ββ␈β∂0␈↓βof␈α
this␈α
command␈α
is␈α
modified␈α
by␈α
the␈↓␈α
1␈↓∂⊂'1000;␈↓β␈α
or␈↓␈α
1␈↓∂⊂'2000;␈↓β␈α
command.)
␈↓ 
j␈↓α 7␈↓ α$␈β⊂ ␈↓αPOX writeup,  edited 1975 DEC 05  07:52 PST,  compiled 1976 SEP 27  20:38 -- page 
␈↓ 
j␈↓α 8␈↓ α$␈β↓α␈↓αPOX writeup,  edited 1975 DEC 05  07:52 PST,  compiled 1976 SEP 27  20:38 -- page 
␈↓ ↓H␈β↓H␈↓1␈↓∂"␈↓¬<CH>␈↓β␈↓ ββ(U␈α∞[J*]␈α∞A)␈α∞--␈α∞the␈α
character␈↓¬␈α
<CH>␈↓β␈α
in␈α
the␈α
current␈α
font,␈α
preceeded␈α
by␈α
'177
␈↓ ββ␈β↓h␈↓βonly␈α∞if␈α∞necessary␈α∞to␈α∞prevent␈α∞special␈α∞things␈α∞from␈α∞happening,␈α∞guaranteed
␈↓ ββ␈βαε␈↓βnot␈αto␈αgo␈αinto␈αXGP␈αescape␈αmode.␈α--␈αWhen␈αpassing␈αcharacter␈αto␈αargument
␈↓ ββ␈βα"␈↓βto␈αmacro,␈αthe␈αcharacter␈αis␈αquoted,␈αi.e.␈αif␈αit␈αis␈αthe␈↓␈α1␈↓β␈αcharacter␈αor␈αa␈αcomma
␈↓ ββ␈βαB␈↓βor␈αa␈αnesting/quoting␈α
character␈α
nothing␈α
special␈α
happens␈α
on␈α
account␈α
of␈α
that
␈↓ ββ␈βα`␈↓β--␈α∞In␈α∞justify␈α
mode,␈α
this␈α
command␈α
is␈α
implemented␈α
only␈α
for␈α
the␈α
characters
␈↓ ββ␈βα}␈↓βthat␈α
do␈α
not␈α
require␈α
the␈α
'177␈α
prefix
␈↓ ↓H␈ββ~␈↓11␈↓β␈↓ ββ(U␈α⊃J␈α⊃CR␈α⊃A)␈α⊃[no␈α⊃longer␈α⊃reccommended,␈α⊂use␈↓␈α⊂1␈↓∂"␈↓1␈↓β␈α⊂instead␈α⊂(see␈α⊂previous
␈↓ ββ␈ββ:␈↓βcommand)]␈α
--␈α
quotes␈αthe␈αescape␈αcharacter␈α--␈αtakes␈αpresidence␈αover␈αany
␈↓ ββ␈ββX␈↓βother␈α∂command␈α∂that␈α∂parses␈α∂the␈α∂same␈α∂due␈α∂to␈α∂coincidence␈α∞of␈α∞characters,
␈↓ ββ␈ββv␈↓βthereby␈α≡making␈α≡that␈α≡other␈α≡command␈α≥unavailable␈α≥--␈α≥Please␈α≥use
␈↓ ββ␈β∧∩␈↓1␈↓∂⊂'1000001;␈↓β␈α∂which␈α∂disables␈α∂this␈α∂crufty␈α∂old␈α∂undesirable␈α∂and␈α∞unneeded
␈↓ ββ␈β∧2␈↓βfeature,␈α
and␈α
thus␈α
unhides␈α
the␈α
other␈α
command)
␈↓ ↓H␈β∧H␈↓1␈↓∂A␈↓εq␈↓β␈↓ ββ(U␈α
[J*]␈α
A)␈α
--␈α
the␈α
seven␈α
low-order␈αbits␈αof␈↓ε␈αq␈↓β␈αare␈αassembled␈αinto␈αan␈αASCII
␈↓ ββ␈β∧l␈↓βcharacter,␈α
and␈↓␈α
1␈↓∂"␈↓β␈α
is␈α
performed␈α
on␈α
that␈α
character.
␈↓ ↓H␈β¬∧␈↓1␈↓∂D␈↓εq␈↓β␈↓ ββ(U␈αJ␈αCR␈αo␈αA)␈α--␈αconverts␈↓ε␈αq␈↓β␈αinto␈αa␈αstring␈αof␈αdecimal␈α
digits␈α
representing␈α
its
␈↓ ββ␈β¬*␈↓βvalue,␈α
like␈↓∂␈α
CVS␈↓β␈α
in␈α
SAIL.
␈↓ ¬[␈β¬f␈↓βSTACK OPERATIONS
␈↓ ↓H␈βεα␈↓1␈↓∂P␈↓β␈↓ ββ(U␈α
J␈α
CR␈α
o␈α
A)␈α
--␈α
push␈α
ac.
␈↓ ↓H␈βε ␈↓1␈↓∂p␈↓β␈↓ ββ(U␈α
J␈α
CR␈α
o␈α
A)␈α
--␈α
pop␈α
ac.
␈↓ ↓H␈βε8␈↓1␈↓∂Q␈↓εq␈↓β␈↓ ββ(U␈α
J␈α
CR␈α
o␈α
A)␈α
--␈α
push␈α
register␈↓ε␈α
q␈↓β.
␈↓ ↓H␈βεV␈↓1␈↓∂q␈↓εq␈↓β␈↓ ββ(U␈α
J␈α
CR␈α
o␈α
A)␈α
--␈α
pop␈α
to␈α
register␈↓ε␈α
q␈↓β.␈α
--␈α
READONLY␈α
operand␈α
not␈α
allowed.
␈↓ ↓H␈βεz␈↓1␈↓∂#␈↓β␈↓ ββ(U␈α
J␈α
CR␈α
o␈α
A)␈α
--␈α
push␈α
the␈α
current␈α
font␈α
number␈α
(octal␈α
0␈α
to␈α
17).
␈↓ ↓H␈βπ_␈↓1␈↓∂G␈↓β␈↓ ββ(␈α)␈α--␈αpop␈αa␈αnumber␈α
off␈α
the␈α
stack␈α
and␈α
use␈α
that␈α
number␈α
to␈α
do␈α
a␈α
font-select
␈↓ ββ␈βπ6␈↓βlike␈↓␈α
1␈↓∂F␈↓β...␈α--␈αmust␈αbe␈αin␈αthe␈αrange␈αoctal␈α0␈αto␈α17␈αto␈αwork␈αcorrectly␈α--␈αnot
␈↓ ββ␈βπV␈↓βyet␈α
fully␈α
supported.
␈↓ β]␈βλ∩␈↓βTEXT-MODE VECTORS (SEE ALSO ATOMIC VECTOR OVERLAY)
␈↓ ↓H␈βλ(␈↓1␈↓∂V␈↓εx␈↓β␈↓#n1␈↓εy␈↓β␈↓#n1␈↓εx␈↓β␈↓#n2␈↓εy␈↓β␈↓#n2␈↓εw
␈↓ ββ␈βλR␈↓β(U)␈α∞--␈α∞draw␈α∞a␈α∞vector␈α∞of␈↓α␈α∞HORIZONTAL␈↓β␈α∞width␈↓ε␈α∞w␈↓β␈α
between␈α
(␈↓εx␈↓β␈↓#s1␈↓#,␈↓εy␈↓β␈↓#s1␈↓#)␈α
and
␈↓ ββ␈βλw␈↓β(␈↓εx␈↓β␈↓#s2␈↓#,␈↓εy␈↓β␈↓#s2␈↓#)␈α∃--␈α∃vectors␈α∃on␈α∃the␈α∃XGP␈α∃(at␈α∀SU-AI)␈α∀are␈α∀actually␈α∀tall␈α∀skinny
␈↓ ββ␈β	≥␈↓βparallelograms␈αwhich␈αget␈αincreasingly␈α
bad-looking␈α
as␈α
they␈α
approach␈α
being
␈↓ ββ␈β	;␈↓βhorizontal␈α--␈αPOX␈αdoes␈αnothing␈αto␈αimprove␈αthe␈αlooks␈αof␈αdiagonal␈αvectors,
␈↓ ββ␈β	Y␈↓βbut␈α∞exactly␈α∞horizontal␈α∞vectors␈α∞(which␈α
wouldn't␈α
work␈α
at␈α
all␈α
normally)␈α
are
␈↓ ββ␈β	w␈↓βreplaced␈α⊃by␈α⊃vertical␈α⊃vectors␈α⊃that␈α⊃are␈α⊃very␈α⊃very␈α⊃wide␈α⊃and␈α⊃very␈α⊃very
␈↓ ββ␈β

␈↓βshort).␈α∞Coordinates␈α∞are␈α∞measured␈α
in␈α
usual␈α
XGP␈α
coordinates.␈↓ε␈α
x␈↓β␈α
increases
␈↓ ββ␈β
+␈↓βfrom␈αleft␈αto␈αright,␈αwith␈↓ε␈αx␈↓β=0␈αbeing␈αthe␈αleft␈αedge.␈↓ε␈αy␈↓β␈αincreases␈αfrom␈αtop␈αto
␈↓ ββ␈β
I␈↓βbottom,␈α⊃with␈↓ε␈α⊃y␈↓β=0␈α⊃being␈α⊃the␈α⊃top␈α⊃edge.␈α⊃Vectors␈α⊃no␈α⊃longer␈α⊃have␈α⊂to␈α⊂be
␈↓ ββ␈β
g␈↓βpresented␈α∂to␈α∞POX␈α∞with␈α∞MIN(␈↓εy␈↓β␈↓#s1␈↓#,␈↓εy␈↓β␈↓#s2␈↓#)␈α∞in␈α∞ascending␈α∞sequence␈α∞because␈α∞POX
␈↓ ββ␈β
␈↓βnow␈α∩sorts␈α∩them␈α∩into␈α∩correct␈α∩sequence␈α∩automatically,␈α⊃but␈α⊃because␈α⊃the
␈↓ ββ␈β+␈↓βsystem␈α∞requires␈α
both␈α
text␈α
and␈α
vectors␈α
to␈α
be␈α
sorted␈α
correctly,␈α
you␈α
must
␈↓ ββ␈βI␈↓βusually␈α⊃enable␈α⊃the␈α⊃text␈α⊃linefeed␈α⊃simulator␈α⊂(see␈α⊂note␈α⊂2)␈α⊂whenever␈α⊂you
␈↓ ββ␈βg␈↓βwant␈α∞ordinary␈α
text␈α
to␈α
appear␈α
below␈α
any␈α
vector␈α
or␈α
overlay␈α
on␈α
the␈α
same
␈↓ ββ␈β¬␈↓βpage.␈α
One␈α
final␈α
warning␈αwith␈αvectors␈αis␈αnot␈αto␈αattempt␈αto␈αdo␈αanything␈αat
␈↓ ββ␈β#␈↓βthe␈α∞very␈α∞top␈α∞of␈α∞the␈α∞first␈α∞page␈α
of␈α
output␈α
(the␈α
system␈α
needs␈α
time␈α
to␈α
get
␈↓ ββ␈βA␈↓βstarted␈α
loading␈α
buffers).
␈↓ ↓H␈βW␈↓1␈↓∂v␈↓εx␈↓β␈↓#n1␈↓εy␈↓β␈↓#n1␈↓εx␈↓β␈↓#n2␈↓εy␈↓β␈↓#n2␈↓εt
␈↓ ββ␈β
↓␈↓β(U)␈α
--␈α
same␈α
as␈↓␈α
1␈↓∂V␈↓εx␈↓β␈↓#n1␈↓εy␈↓β␈↓#n1␈↓εx␈↓β␈↓#n2␈↓εy␈↓β␈↓#n2␈↓εw␈↓β␈α
except␈↓ε␈α
t␈↓β␈αis␈αthickness␈αperpendicular␈αto
␈↓ ββ␈β
+␈↓βthe␈α
direction␈α
of␈α
the␈α
vector␈α
in␈α
all␈α
cases␈α
--␈αi.e.␈αfor␈αnon-horizontal␈αvectors
␈↓ ββ␈β
<␈↓εw␈↓β=SQRT(␈↓εt␈↓β␈↓#
2␈↓#((␈↓εx␈↓β␈↓#s;1␈↓#-␈↓εx␈↓β␈↓#s;2␈↓#)␈↓#
2␈↓#␈α-+(␈↓εy␈↓β␈↓#s1␈↓#-␈↓εy␈↓β␈↓#s2␈↓#)␈↓#
2␈↓#)/(␈↓εy␈↓β␈↓#s1␈↓#-␈↓εy␈↓β␈↓#s2␈↓#)␈↓#
2␈↓#),␈α-whereas␈α-exactly
␈↓ ββ␈β
f␈↓βhorizontal␈αvectors␈αare␈αfixed␈αup␈αby␈αthis␈αcommand␈αthe␈αsame␈αas␈αby␈αthe␈↓␈α
1␈↓∂V␈↓β...
␈↓ ββ␈β∞ε␈↓βcommand␈α--␈αnote␈αthat␈αvectors␈αwhich␈αare␈α
almost␈α
but␈α
not␈α
exactly␈α
horizontal
␈↓ ββ␈β∞$␈↓βstill␈α⊃come␈α⊃out␈α⊂quite␈α⊂ugly␈α⊂and␈α⊂usually␈α⊂overshoot␈α⊂their␈α⊂specified␈α⊂bottom
␈↓ ββ␈β∞B␈↓βends.
␈↓ ↓H␈β∞X␈↓1␈↓∂w␈↓εx␈↓β␈↓#n1␈↓εy␈↓β␈↓#n1␈↓εx␈↓β␈↓#n2␈↓εy␈↓β␈↓#n2␈↓εt
␈↓ ββ␈β∂α␈↓β(not␈α⊃implemented␈α⊃yet)␈α⊃--␈α⊂even␈α⊂better␈α⊂looking␈α⊂vectors␈α⊂that␈α⊂won't␈α⊂ever
␈↓ ββ␈β∂ ␈↓βovershoot,␈α⊃but␈α⊃because␈α⊃they␈α⊃will␈α⊂be␈α⊂composed␈α⊂of␈α⊂four␈α⊂simple␈α⊂vectors
␈↓ 
j␈↓α 8␈↓ α$␈β⊂ ␈↓αPOX writeup,  edited 1975 DEC 05  07:52 PST,  compiled 1976 SEP 27  20:38 -- page 
␈↓ 
j␈↓α 9␈↓ α$␈β↓α␈↓αPOX writeup,  edited 1975 DEC 05  07:52 PST,  compiled 1976 SEP 27  20:38 -- page 
␈↓ ββ␈β↓H␈↓βeach␈α∀they␈α∀might␈α∀overload␈α∪the␈α∪XGPSER␈α∪in␈α∪some␈α∪cases␈α∪and␈α∪not␈α∪work
␈↓ ββ␈β↓f␈↓βcorrectly.
␈↓ ¬λ␈βα"␈↓βREDEFINE THE BRICK CHARACTER
␈↓ ↓H␈βα>␈↓1␈↓∂|␈↓∧<CH>␈↓β␈↓ ββ(U␈αJ␈αCR␈αo␈αA)␈α--␈αchanges␈αthe␈αbrick␈αcharacter␈αto␈↓∧␈α<CH>␈↓β␈α--␈αI␈αdon't␈αguarantee
␈↓ ββ␈βα↑␈↓βparsing␈αwill␈αmesh␈αwith␈αthis␈αin␈αa␈αreasonable␈α
way␈α
if␈α
you␈α
do␈α
this␈α
deep␈α
inside
␈↓ ββ␈βα|␈↓βsomething␈α∪complicated␈α∪like␈α∪justify,␈α∪surrounded␈α∪nearby␈α∪by␈α∪things␈α∩that
␈↓ ββ␈ββ~␈↓βdepend␈α
on␈αthe␈αescape␈αcharacter␈αbeing␈αwhat␈αyou'd␈αexpect␈α--␈αnote␈αthat␈αif
␈↓ ββ␈ββ6␈↓βyou␈α
do␈↓␈α
1␈↓∂||␈↓β␈α
you␈α
can't␈α
later␈α
change␈α
back␈α
because␈α
then␈α
as␈α
long␈α
as␈α
"␈↓∂|␈↓β"␈αis
␈↓ ββ␈ββT␈↓βthe␈αescape␈αcharacter,␈α"␈↓∂||␈↓β"␈αwill␈αbe␈αparsed␈αas␈α"␈↓11␈↓β"␈αrather␈αthan␈αas␈α"␈↓1␈↓∂|␈↓β...".
␈↓ ββ␈ββr␈↓β(see␈α∞the␈↓␈α∞11␈↓β␈α∞and␈↓␈α
1␈↓∂"␈↓¬<CH>␈↓β␈α
commands␈α
earlier),␈α
unless,␈α
of␈α
course,␈α
you␈α
have
␈↓ ββ␈β∧⊂␈↓βdisabled␈α
the␈↓␈α
11␈↓β␈α
command␈α
by␈α
means␈α
of␈↓␈α
1␈↓∂⊂'1000001;␈↓β␈α
or␈α
equivalent.
␈↓ ¬¬␈β∧N␈↓βCONTROLLING INTERLINE SPACING
␈↓ ↓H␈β∧j␈↓1␈↓∂λ␈↓β␈↓ ββ(U)␈α--␈αuse␈αthe␈αcontents␈αof␈αthe␈αac␈αto␈αset␈αthe␈αinterline␈αspacing,␈αthat␈αis,␈αthe
␈↓ ββ␈β¬
␈↓βminimum␈α∪number␈α∪of␈α∪blank␈α∪scan␈α∪lines␈α∪(1/200␈α∩inch)␈α∩between␈α∩the␈α∩very
␈↓ ββ␈β¬(␈↓βbottom␈αof␈αeach␈αline␈αof␈αtext␈α(including␈αsubscripts)␈αand␈αthe␈αvery␈αtop␈αof␈αthe
␈↓ ββ␈β¬F␈↓βnext␈α⊃line␈α⊃(including␈α⊃superscripts).␈α⊃This␈α⊃parameter␈α⊃has␈α⊂different␈α⊂effects
␈↓ ββ␈β¬d␈↓βdepending␈α
on␈α
whether␈α
the␈α
simulator␈α
is␈α
enabled.␈αWith␈αthe␈αsimulator␈αon,␈αif
␈↓ ββ␈βεα␈↓βthis␈αparameter␈αis␈αnegative␈α
it␈α
allows␈α
overlapping,␈α
if␈α
zero␈α
it␈α
allows␈α
bumping,
␈↓ ββ␈βε ␈↓βand␈α∩if␈α∩positive␈α∩it␈α∩forces␈α∩a␈α∩gap,␈α∩i.e.␈α∩it␈α∩is␈α∩completely␈α∩logical.␈α∩With␈α⊃the
␈↓ ββ␈βε>␈↓βsimulator␈α∞off␈α∞it␈α∞doesn't␈α∞take␈α
effect␈α
until␈α
after␈α
the␈α
next␈α
text␈α
line,␈α
and␈α
its
␈↓ ββ␈βε\␈↓βinterpretation␈α∪depends␈α∪on␈α∪its␈α∪sign:␈α∩positive␈α∩is␈α∩the␈α∩same␈α∩as␈α∩with␈α∩the
␈↓ ββ␈βεz␈↓βsimulator␈αon,␈αzero␈αor␈αnegative␈αmeans␈αsystem␈αdefault␈αwhatever␈αit␈αis␈αtoday
␈↓ ββ␈βπ_␈↓β(recently␈α
it␈α
has␈α
had␈α
the␈α
value␈α
4).
␈↓ ↓H␈βπ4␈↓1␈↓∂ε␈↓β␈↓ ββ(U)␈α∂--␈α∂use␈α∂the␈α∂contents␈α∂of␈α∞the␈α∞ac␈α∞to␈α∞set␈α∞the␈α∞interbase␈α∞spacing,␈α∞i.e.␈α∞the
␈↓ ββ␈βπT␈↓βminimum␈α
number␈α
of␈α
scan␈α
lines␈α
that␈αbaselines␈αare␈αforced␈αapart.␈αWhen␈αthe
␈↓ ββ␈βπr␈↓βsimulator␈α⊗is␈α⊗on,␈α⊗this␈α⊗parameter␈α⊗together␈α⊗with␈α⊗the␈α⊗interline␈α⊗spacing
␈↓ ββ␈βλ⊂␈↓βdetermine␈α
how␈α
far␈α
apart␈α
lines␈α
will␈α
be␈α
(each␈α
line␈α
is␈α
placed␈α
as␈αhigh␈αup␈αon
␈↓ ββ␈βλ.␈↓βthe␈α⊃page␈α⊃as␈α⊃is␈α⊃possible␈α⊃without␈α⊃violating␈α⊃either␈α⊃constraint).␈α⊂When␈α⊂the
␈↓ ββ␈βλL␈↓βsimulator␈α
is␈α
off,␈α
this␈α
parameter␈α
is␈α
ignored␈α
and␈α
only␈α
the␈α
interline␈αspacing
␈↓ ββ␈βλj␈↓βhas␈α∩any␈α∩effect.␈α⊃--␈α⊃A␈α⊃logical␈α⊃consequence␈α⊃of␈α⊃the␈α⊃above␈α⊃is␈α⊃that␈α⊃if␈α⊃the
␈↓ ββ␈β	λ␈↓βinterline␈α∂spacing␈α∂is␈α∂very␈α∂negative,␈α∂then␈α∂only␈α∂the␈α∂interbase␈α∂spacing␈α∂has
␈↓ ββ␈β	&␈↓βany␈α∞effect,␈α∞and␈α∞you␈α∞get␈α∞evenly␈α∞spaced␈α∞lines␈α
even␈α
even␈α
if␈α
they␈α
overlap;
␈↓ ββ␈β	D␈↓βwhereas␈α
if␈α
interbase␈α
spacing␈α
is␈α
zero␈α
and␈αinterline␈αspacing␈αis␈αreasonable,
␈↓ ββ␈β	b␈↓βthen␈α
in␈α
most␈α
cases␈α
only␈α
interline␈α
spacing␈α
will␈α
be␈αin␈αcontrol,␈αand␈αyou␈αwill
␈↓ ββ␈β
␈↓βget␈α⊃lines␈α⊃with␈α⊃the␈α⊃same␈α⊃amount␈α⊃of␈α⊃space␈α⊃between␈α⊃each␈α⊃pair,␈α⊃even␈α⊂if
␈↓ ββ␈β
≡␈↓βdiffering␈α
amounts␈α
of␈α
subscripts␈α
etc.␈α
cause␈α
irregular␈α
spacing␈α
to␈α
occur.
␈↓ βa␈β
Z␈↓βRESET VERTICAL POSITION FOR TEXT (SEE ALSO OVERLAYS)
␈↓ ↓H␈β
p␈↓1␈↓∂Y␈↓εq␈↓β␈↓ ββ(U)␈α--␈αset␈αabsolute␈αY␈αposition␈αfor␈αtop␈αscan␈α
line␈α
of␈α
this␈α
text␈α
line␈α
relative␈α
to
␈↓ ββ␈β⊗␈↓βtop␈α
of␈α
page␈α
(if␈α
no␈α
text␈α
line␈α
is␈α
currently␈α
active,␈α
apply␈α
to␈α
the␈α
next␈α
text␈α
line).
␈↓ ββ␈β,␈↓βIncreasing␈↓ε␈α
q␈↓β␈α
moves␈α
down␈α
the␈α
page!␈α
Text␈α
after␈α
this␈α
line␈α
will␈α
be␈α
below␈α
it␈α
on
␈↓ ββ␈βR␈↓βthe␈αpage␈αunless␈αPOX␈αor␈αthe␈αXGPSER␈αdecides␈αit␈αis␈αtoo␈αclose␈αto␈αthe␈αbottom
␈↓ ββ␈βp␈↓βof␈α
the␈α
page␈α
and␈α
inserts␈α
a␈α
page␈α
mark.␈α
Do␈α
not␈α
use␈α
this␈α
command␈α
inside␈α
your
␈↓ ββ␈β∞␈↓βEVERYPAGE␈α⊂macro␈α⊂unless␈α⊂you␈α⊂restore␈α∂the␈α∂Y-location␈α∂of␈α∂the␈α∂main␈α∂page
␈↓ ββ␈β,␈↓βprinter␈α⊗before␈α⊗returning␈α⊗from␈α⊗your␈α∃macro␈α∃to␈α∃the␈α∃mainline␈α∃text!␈α∃--
␈↓ ββ␈βB␈↓βWARNING␈α
--␈α
If␈↓ε␈αq␈↓β␈αis␈αvery␈αlarge␈αit␈αwill␈αprobably␈αmake␈αthe␈αXGP␈αspooler␈αgo
␈↓ ββ␈βh␈↓βbeserk.
␈↓ ∧x␈β
$␈↓βMISC. COMMANDS NOT OFTEN USED
␈↓ ↓H␈β
:␈↓1␈↓∂u␈↓εq␈↓β␈↓ ββ(U␈αJ␈αCR␈αo␈αA)␈α--␈αgenerates␈αand␈αexecutes␈αa␈αCALLI␈αUUO␈αusing␈αthe␈αright␈αhalf
␈↓ ββ␈β
X␈↓βof␈↓ε␈α
q␈↓β,␈α
thus␈↓␈α
1␈↓∂u'400012;␈↓β␈α
will␈α
perform␈α
a␈↓∂␈α
CALLI␈α
400012␈↓β␈α--␈αthe␈αac␈αis␈αused
␈↓ ββ␈β
}␈↓βto␈α∞supply␈α∞data␈α∞to␈α∞some␈α∞UUO's,␈α∞and␈α∞to␈α∞return␈α∞data␈α∞to␈α
the␈α
program␈α
after
␈↓ ββ␈β∞≤␈↓βsome␈α
UUO'S␈α
--␈α
if␈α
the␈α
ac␈α
field␈α
of␈α
the␈αinstruction␈αis␈αused␈αin␈αa␈αspecial␈αway
␈↓ ββ␈β∞:␈↓βother␈α
than␈α
merely␈α
pointing␈α
to␈α
data,␈α
then␈α
it␈α
isn't␈α
guaranteed␈α
to␈α
work␈αthe
␈↓ ββ␈β∞X␈↓βway␈αyou␈αwant␈α--␈αthe␈α.SKIP.␈αflag␈α(ala␈αSAIL)␈αis␈α
returned␈α
in␈α
register␈↓∂␈α
u␈↓β␈α
--␈α
see
␈↓ ββ␈β∞v␈↓βthe␈α
UUO␈α
manual␈α
for␈α
details.
␈↓ ↓H␈β∂∩␈↓1␈↓∂S␈↓β␈↓ ββ(U)␈α↔--␈α↔generates␈α↔a␈α⊗sample␈α⊗of␈α⊗the␈α⊗currently-selected␈α⊗font␈α⊗--␈α⊗type
␈↓ ββ␈β∂1␈↓∂HELP␈↓#↓ ␈↓#FONT␈↓β␈α
for␈α
other␈α
ways␈α
to␈α
get␈α
samples␈α
of␈α
fonts.
␈↓ 
j␈↓α 9␈↓ α$␈β⊂ ␈↓αPOX writeup,  edited 1975 DEC 05  07:52 PST,  compiled 1976 SEP 27  20:38 -- page 
␈↓ 
c␈↓α 10␈↓ α≥␈β↓α␈↓αPOX writeup,  edited 1975 DEC 05  07:52 PST,  compiled 1976 SEP 27  20:38 -- page 
␈↓ β[␈β↓a␈↓Examples of commands using register arguments etc.
␈↓ α_␈βαα␈↓βIn␈α⊂this␈α⊂writeup,␈α⊂the␈↓␈α⊂1␈↓∂j␈↓β␈α⊂command␈α⊂is␈α⊂used␈α⊂to␈α⊂generate␈α⊂the␈α⊂indented␈α⊂paragraph␈α∂of␈α∂description
␈↓ ↓H␈βα~␈↓βalongside␈α∩the␈α∩syntax␈α∩of␈α∩each␈α∩command.␈α∩The␈α∩sequence␈↓␈α∩1␈↓∂←␈↓εq␈↓1␈↓∂→.␈↓β␈α∩is␈α⊃used␈α⊃sometimes␈α⊃to␈α⊃set␈α⊃column
␈↓ ↓H␈βα@␈↓βposition␈α
for␈α
single-line␈α
descriptions␈α
and␈α
to␈α
align␈α
text␈α
in␈α
some␈α
of␈α
the␈α
tabular␈α
presentations.
␈↓ ↓H␈βα|␈↓∧Example showing how to do a simple subscript:
␈↓ ↓H␈ββ_␈↓1␈↓∂F3x␈↓1␈↓∂∪1␈↓1␈↓∂⊗+x␈↓1␈↓∂∪2␈↓1␈↓∂⊗+...+x␈↓1␈↓∂∪n␈↓1␈↓∂⊗+x␈↓1␈↓∂∪n+1␈↓1␈↓∂⊗
␈↓ ↓H␈ββ8␈↓βx␈↓#s1␈↓#+x␈↓#s2␈↓#+...+x␈↓#sn␈↓#+x␈↓#sn+1␈↓#
␈↓ ↓H␈ββt␈↓∧Example of making five columns on a page, $ is the escape char:
␈↓ ↓H␈β∧∩␈↓∂$←R$-L$/'5;$→W$;␈↓ εHq-reg W contains width of a column
␈↓ ↓H␈β∧0␈↓∂$←L$→1$+W$→2$+W$→3$+W$→4$+W$→5$;␈↓ εHq-reg's 1,2,3,4,5 contain the column loc's
␈↓ ↓H␈β∧N␈↓∂$←1$→.Hello$←2$→.This$←3$→.Is$←4$→.A$←5$→.Test.
␈↓ ↓H␈β∧l␈↓∂$←1$→.These$←2$→.Columns$←3$→.Are$←4$→.Nicely$←5$→.Aligned.
␈↓ ↓H␈β¬
␈↓βHello␈↓ βNThis␈↓ ¬TIs␈↓ πZA␈↓ 	`Test.
␈↓ ↓H␈β¬(␈↓βThese␈↓ βNColumns␈↓ ¬TAre␈↓ πZNicely␈↓ 	`Aligned.
␈↓ ↓H␈β¬d␈↓∧Example of hidden characters, $ is the escape char:
␈↓ ↓H␈βεα␈↓∂$FF$'0;$'11;$'12;$'14;$'15;$'177;
␈↓ ↓H␈βε ␈↓∂␈␈	␈
␈␈
␈␈
␈↓ ↓H␈βε\␈↓∂$F1This shows how to $←.$→1underline$U1=3;=2;. a word in a line of text.
␈↓ ↓H␈βεu␈↓This shows how to underline␈↓ βa␈↓!β↓β␈↓ βa␈↓!∧↓β␈↓ ∧d a word in a line of text.
␈↓ ↓H␈βπ6␈↓∂$F3$J␈↓ αHThis paragraph is an example of how to insert something
␈↓ ↓H␈βπT␈↓∂like X$←.$→1$∩n$←.$→2$←1$→.$∪i$←.$~2$→.$⊗ in the middle of a paragraph of
␈↓ ↓H␈βπr␈↓∂justified text using the "." register that represents the current column
␈↓ ↓H␈βλ⊂␈↓∂$←.$→1$∩loca$←.$→2$←1$→.$↓=05;posi$←.$~2$→.$⊗tion
␈↓ ↓H␈βλ.␈↓∂relative to the beginning of the current word.$.
␈↓ α_␈βλ?␈↓βThis␈αparagraph␈αis␈αan␈αexample␈αof␈αhow␈αto␈αinsert␈αsomething␈αlike␈αX␈↓#
n␈↓#s␈αqi␈↓#␈α∪in␈αthe␈αmiddle␈αof␈αa␈α
paragraph␈α
of
␈↓ ↓H␈βλi␈↓βjustified␈α∀text␈α∀using␈α∪the␈α∪"."␈α∪register␈α∪that␈α∪represents␈α∪the␈α∪current␈α∪column␈↓#
␈α∪loca␈↓#{␈αOposi␈↓#tion␈α∪relative␈α∪to␈α∪the
␈↓ ↓H␈β	∀␈↓βbeginning␈α
of␈α
the␈α
current␈α
word.
␈∧	A	X␈}+Hα␈∧	A	X↓UHα␈↓ ↓H␈β	P␈↓∂$←=2;$→V$←;$-=100;$→A$+=27;$→B$+=45;$→C$;
␈∧	\	0αP␈∧	\	0ε≤-α␈∧	\
␈yd-α␈↓ ↓H␈β	n␈↓∂$←=1200;$→a$+=10;$→b$+=30;$→c$+=30;$→d$+=10;$→e$;
␈↓ ↓H␈β
␈↓∂$VaBeBV$VaBdCV$VcAbCV$VcAdCV$VbCeBV$; draw 5-point star of constant width
␈∧
9	X␈}+Hα␈∧
9	X↓UHα␈↓ ↓H␈β
H␈↓∂$←=2;$→V$←;$-=100;$→A$+=27;$→B$+=45;$→C$;
␈∧
T	0αP␈∧
T	0ε≤-β␈∧
T
␈yd-β␈↓ ↓H␈β
f␈↓∂$←=1200;$→a$+=10;$→b$+=30;$→c$+=30;$→d$+=10;$→e$;
␈↓ ↓H␈β∧␈↓∂$vaBeBV$vaBdCV$vcAbCV$vcAdCV$vbCeBV$; draw 5-point star of constant thickness
␈↓ ↓H␈β@␈↓∂$←;$-=20;$→:$v=1400;;=1300;:=20;$; sample of a very ugly vector
␈∧c
∀∀∀e␈↓ ε␈β∃␈↓OVERLAYS
␈↓ α_␈β8␈↓βAn␈↓α␈αoverlay␈↓β␈αis␈αlike␈αa␈αblack-on-clear␈αtransparancy.␈α
Overlays␈α
can␈α
be␈α
set␈α
up␈α
by␈α
feeding␈α
them␈α
text␈α
or
␈↓ ↓H␈βV␈↓βvectors␈α(someday,␈αvideo␈αand␈αIII/DD␈αbuffers␈αalso),␈αand␈αseveral␈αoverlays␈αcan␈αbe␈αplaced␈αover␈αone␈αanother
␈↓ ↓H␈βt␈↓βand␈αglued␈αtogether␈αto␈αmake␈αa␈αcompound␈αoverlay,␈αwhich␈αthen␈αcan␈αbe␈αfurther␈αprocessed␈αin␈αsimilar␈αways.
␈↓ ↓H␈β
∩␈↓βEventually,␈α
overlays␈α
are␈α
placed␈α
in␈α
the␈α
output␈α
file.
␈↓ α_␈β
0␈↓βAll␈α
contents␈α
of␈α
an␈α
overlay␈α
are␈α
positioned␈αrelative␈αto␈αan␈αarbitrary␈↓α␈αbasepoint␈↓β.␈αWhen␈αoverlays␈αare
␈↓ ↓H␈β
N␈↓βplaced␈αon␈αtop␈αof␈αone-another␈αand␈αglued,␈αthe␈αx,y␈αoffset␈αof␈αthe␈α
basepoint␈α
of␈α
each␈α
component␈α
is␈α
specified
␈↓ ↓H␈β
l␈↓βrelative␈αto␈αthe␈αbasepoint␈αof␈αthe␈αoperation␈αas␈αa␈αwhole,␈αthus␈αoverlays␈α
can␈α
be␈α
made␈α
to␈α
fit␈α
side-by-side␈α
or
␈↓ ↓H␈β∞
␈↓βabove-and-below␈α_or␈α_partially-overlapped␈α_or␈α_whatever.␈α↔Defaults␈α↔are␈α↔available␈α↔in␈α↔some␈α↔of␈α↔the
␈↓ ↓H␈β∞(␈↓βoperations.
␈↓ α_␈β∞F␈↓βIn␈α∪typical␈α∪applications,␈α∪overlays␈α∪act␈α∩as␈α∩data,␈α∩and␈α∩macros␈α∩that␈α∩call␈α∩the␈α∩overlay-manipulation
␈↓ ↓H␈β∞d␈↓βcommands␈α
act␈α
as␈α
subroutines␈α
(see␈α
next␈α
section␈α
for␈α
macros).
␈↓ ↓H␈β∂≡␈↓1␈↓∂o␈↓¬<NAME><OPEN><CH><BODY><CLOSE>
␈↓ 
c␈↓α 10␈↓ α≥␈β⊂ ␈↓αPOX writeup,  edited 1975 DEC 05  07:52 PST,  compiled 1976 SEP 27  20:38 -- page 
␈↓ 
c␈↓α 11␈↓ α≥␈β↓α␈↓αPOX writeup,  edited 1975 DEC 05  07:52 PST,  compiled 1976 SEP 27  20:38 -- page 
␈↓ β↔␈β↓H␈↓β(U␈αJ␈αCR␈αo␈αA)␈α--␈α[Note␈αthat␈αthe␈αpair␈αof␈αnesting␈αcharacters␈α(␈α
and␈α
)␈α
are␈α
not
␈↓ β↔␈β↓f␈↓βallowed␈α↔in␈α↔this␈α↔particular␈α↔syntax.␈α↔The␈α↔reason␈α⊗is␈α⊗that␈α⊗the␈α⊗syntax
␈↓ β↔␈βα∧␈↓¬<OPEN><CH><BODY><CLOSE>␈↓β␈α
will␈α
represent␈α
something␈α
like␈α
an␈α
atom,␈α
with␈α
"("
␈↓ β↔␈βα"␈↓βand␈α
")"␈αreserved␈αfor␈αgenerating␈αs-expressions,␈αif␈αand␈αwhen␈αI␈αimplement
␈↓ β↔␈βα@␈↓βa␈αsubset␈αof␈αLISP␈αinside␈αPOX.]␈αif␈↓¬␈α<CH>␈↓β␈αis␈α"␈↓∂V␈↓β"␈αthen␈αdefine␈αan␈αatomic␈αvector
␈↓ β↔␈βαV␈↓βoverlay␈α(syntax␈αis␈αsame␈αas␈αthe␈↓␈α1␈↓∂V␈↓εx␈↓β␈↓#n1␈↓εy␈↓β␈↓#n1␈↓εx␈↓β␈↓#n2␈↓εy␈↓β␈↓#n2␈↓εw␈↓β␈αcommand␈αwithout␈αthe
␈↓ β↔␈ββ␈↓βinitial␈↓␈α1␈↓β␈αcharacter,␈αeffect␈α(semantics)␈αis␈αthe␈αsame␈αexcept␈αthat␈α(0,0)␈αis␈αat
␈↓ β↔␈ββ ␈↓βthe␈α∂relocatable␈α∂basepoint␈α∂rather␈α∂than␈α∂at␈α∞the␈α∞upper-left␈α∞corner␈α∞of␈α∞the
␈↓ β↔␈ββ>␈↓βoutput␈α⊃page)␈α⊃else␈α⊃if␈α⊃<ch>␈α⊃is␈α⊂a␈α⊂period␈α⊂or␈α⊂a␈α⊂font␈α⊂number␈α⊂then␈α⊂define
␈↓ β↔␈ββ\␈↓βatomic␈α↔text␈α↔overlay␈α↔with␈α↔font␈↓¬␈α⊗<CH>␈↓β␈α⊗(the␈α⊗basepoint␈α⊗is␈α⊗set␈α⊗at␈α⊗the
␈↓ β↔␈ββz␈↓βintersection␈α∃of␈α∃the␈α∃left␈α∃edge␈α∀of␈α∀the␈α∀first␈α∀character␈α∀with␈α∀the␈α∀font
␈↓ β↔␈β∧_␈↓βbaseline)␈αelse␈αerror␈α--␈αIf␈αthere␈αis␈αalready␈αan␈αoverlay␈αby␈α
the␈α
same␈α
name,
␈↓ β↔␈β∧6␈↓βthe␈α
old␈α
one␈α
may␈α
or␈α
may␈α
not␈α
be␈α
deleted,␈α
so␈α
beware.
␈↓ ↓H␈β∧R␈↓1␈↓¬n<NAME>␈↓∂;␈↓β␈↓ β↔(U␈α
J␈α
CR␈α
o␈α
A)␈α
--␈α
load␈α
parameter␈↓¬␈α
n␈↓β␈α
of␈α
overlay␈α
into␈α
ac,␈α
see␈αthe␈αfollowing
␈↓ β↔␈β∧r␈↓βtable:
␈↓ αH␈β¬⊂␈↓¬n␈↓∂␈↓ βHname␈↓β␈↓ ∧Hmeaning (all quantities are usually nonnegative)
␈↓ αH␈β¬.␈↓∂1␈↓ βHLLIM␈↓β␈↓ ∧Hdistance from left edge to basepoint
␈↓ αH␈β¬L␈↓∂2␈↓ βHRLIM␈↓β␈↓ ∧Hdistance from basepoint to right edge  (LLIM+1+RLIM = total width)
␈↓ αH␈β¬j␈↓∂3␈↓ βHTLIM␈↓β␈↓ ∧Hdistance from top edge to basepoint
␈↓ αH␈βελ␈↓∂4␈↓ βHBLIM␈↓β␈↓ ∧Hdistance from basepoint to bottom edge  (TLIM+1+BLIM = total height)
␈↓ αH␈βε&␈↓∂5␈↓ βHTLIM1␈↓β␈↓ ∧Hdistance from top nonblank scan line to basepoint (see bug 2)
␈↓ αH␈βεD␈↓∂6␈↓ βHBLIM1␈↓β␈↓ ∧Hdistance from basepoint to bottom nonblank scan line (see bug 2)
␈↓ ↓H␈βε`␈↓1␈↓∂:␈↓¬n<NAME>␈↓∂;␈↓β␈↓ β↔(U␈α∂J␈α∂CR␈α∂o␈α∂A)␈α∂--␈α∂clobber␈α∂parameter␈↓¬␈α∂n␈↓β␈α∞of␈α∞overlay␈α∞from␈α∞contents␈α∞of␈α∞ac,
␈↓ β↔␈βε}␈↓βthereby␈α⊃making␈α⊃it␈α⊃"lie"␈α⊃if␈α⊃this␈α⊃parameter␈α⊃is␈α⊂later␈α⊂queried␈α⊂by␈α⊂the␈↓␈α⊂1␈↓¬n
␈↓ β↔␈βπ≡␈↓βcommand␈α∂(occasionally␈α∂useful␈α∞to␈α∞interface␈α∞with␈α∞macros),␈α∞only␈α∞the␈α∞right
␈↓ β↔␈βπ<␈↓βhalfword␈α∂is␈α∂used,␈α∂interpreted␈α∂as␈α∂a␈α∂signed-halfword␈α∂in␈α∂2's␈α∞complement
␈↓ β↔␈βπZ␈↓βnotation.
␈↓ ↓H␈βπp␈↓1␈↓∂&␈↓¬<NAME_OF_RESULT>␈↓∂←␈↓¬<NAME␈↓#v1␈↓#>␈↓∂,␈↓εx␈↓∂␈↓#t1␈↓εy␈↓∂␈↓#t1␈↓#&␈↓¬<NAME␈↓#v2␈↓#>␈↓∂,␈↓εx␈↓∂␈↓#t2␈↓εy␈↓∂␈↓#t2␈↓#&...&␈↓¬<NAME␈↓#vn␈↓#>␈↓εx␈↓¬␈↓#vn␈↓εy␈↓¬␈↓#vn␈↓∂;
␈↓ β↔␈βλ⊗␈↓β(U␈αJ␈αCR␈αo␈αA)␈α--␈αcombine␈αoverlays␈αby␈αlaying␈αthem␈αat␈αvarious␈αoffsets␈αand
␈↓ β↔␈βλ'␈↓βgluing␈α
them␈α
together␈α
to␈α
make␈α
a␈α
composite␈α
overlay␈α
--␈α
for␈α
i=1,2,..,n␈α
the␈α
i␈↓#
th␈↓#
␈↓ β↔␈βλJ␈↓βcomponent␈αoverlay␈αis␈αshifted␈αso␈αthat␈αits␈αbase␈αpoint␈αis␈αlocated␈αat␈α(␈↓εx␈↓β␈↓#si␈↓#,␈↓εy␈↓β␈↓#si␈↓#)
␈↓ β↔␈βλp␈↓βrelative␈α∪to␈α∩the␈α∩logical␈α∩basepoint␈α∩of␈α∩the␈α∩resultant␈α∩overlay␈α∩--␈α∩all␈α∩six
␈↓ β↔␈β	∞␈↓βparameters␈α∂are␈α∂computed␈α∂according␈α∂to␈α∂the␈α∂offsets␈α∂and␈α∂parameters␈α∂of
␈↓ β↔␈β	,␈↓βthe␈α
components␈α
--␈α
if␈α
you␈α
leave␈α
out␈α
the␈α
comma␈αand␈αxy␈αarguments␈αfrom
␈↓ β↔␈β	J␈↓βany␈αcomponent,␈αit␈αwill␈αplace␈αthat␈αcomponent␈αjust␈αto␈αthe␈αright␈αof␈αwhat␈αis
␈↓ β↔␈β	h␈↓βalready␈α
prepared,␈α
and␈α
use␈α
0␈α
for␈α
the␈α
y-offset.
␈↓ ↓H␈β	}␈↓1␈↓∂O␈↓¬<NAME>␈↓∂,␈↓εxy
␈↓ ↓H␈β
≤␈↓1␈↓∂W␈↓¬<NAME>␈↓∂,␈↓εxy
␈↓ ↓H␈β
@␈↓1␈↓∂O␈↓¬<NAME>␈↓∂;␈↓β␈↓ β↔(U)␈α--␈αoutput␈αoverlay␈αto␈αXGP,␈αwith␈αbasepoint␈αmoved␈αto␈α
absolute␈α
location
␈↓ β↔␈β
X␈↓β(␈↓εx␈↓β,␈↓εy␈↓β)␈α--␈αyou␈αcan␈αoutput␈αan␈αoverlay␈α
randomly␈α
anywhere␈α
on␈α
the␈α
page,␈α
or
␈↓ β↔␈β
v␈↓βyou␈α⊗can␈α⊗replace␈α⊗the␈α⊗"␈↓∂,␈↓εxy␈↓β"␈α⊗by␈α⊗"␈↓∂;␈↓β"␈α⊗(see␈α⊗syntax,␈α⊗at␈α⊗left␈α⊗of␈α⊗this
␈↓ β↔␈β≤␈↓βparagraph)␈α⊂to␈α⊂get␈α⊂the␈α∂Gosper-requested␈α∂default␈α∂for␈α∂which␈α∂no␈α∂special
␈↓ β↔␈β:␈↓βclaim␈α⊂is␈α⊂made,␈α⊂except␈α⊂to␈α⊂say␈α⊂that␈α⊂the␈α⊂overlay␈α∂is␈α∂placed␈α∂"just␈α∂below"
␈↓ β↔␈βX␈↓βwhere␈α
you␈α
were␈α
writing␈α
plain␈α
text␈αpreviously␈α--␈αBecause␈αtext␈αmust␈αbe
␈↓ β↔␈βv␈↓βpresented␈α⊂in␈α⊂ascending␈α⊂Y-sequence␈α⊂to␈α∂the␈α∂XGP,␈α∂you␈α∂must␈α∂enable␈α∂the
␈↓ β↔␈β∀␈↓βsimulator␈α⊃(see␈α⊃note␈α⊃2)␈α⊂whenever␈α⊂you␈α⊂place␈α⊂ordinary␈α⊂text␈α⊂below␈α⊂any
␈↓ β↔␈β2␈↓βoverlay␈α∃on␈α∃the␈α∃same␈α∃page.␈α∃--␈α∃ADDENDA␈α∀1975.JUL-AUG␈α∀--␈α∀At␈α∀the
␈↓ β↔␈βP␈↓βinsistance␈α∂of␈α∂Ralph␈α∂Gorin,␈α∂the␈α∂default␈α∂way␈α∂these␈α∂commands␈α∞work␈α∞is␈α∞a
␈↓ β↔␈βn␈↓βcomplicated␈α∞illogical␈α∞mess␈α∞that␈α∞happened␈α∞to␈α∞be␈α∞implemented␈α∞for␈α∞a␈α∞few
␈↓ β↔␈β
␈↓βdays␈α∞in␈α∞July.␈α∞If␈α∞you␈α∞have␈α∞the␈α∞'200000␈α∞bit␈α∞on,␈α∞as␈α∞I␈α∞reccommend␈α∞for␈α∞all
␈↓ β↔␈β
(␈↓βnew␈α⊃files,␈α⊃the␈α⊃following␈α⊃more␈α⊃reasonable␈α⊃thing␈α⊃happens:␈↓␈α⊂1␈↓∂O␈↓¬...␈↓β␈α⊂always
␈↓ β↔␈β
H␈↓βaffects␈α⊂your␈α⊂page␈α⊂printer,␈α⊂and␈α⊂register␈↓∂␈α∂;␈↓β␈α∂if␈α∂the␈α∂simulator␈α∂on.,␈α∂and␈α∂is
␈↓ β↔␈β
f␈↓βsupposed␈α
to␈α
be␈α
used␈α
for␈α
displays␈α
that␈α
occur␈α
in␈α
the␈α
middle␈α
of␈α
text,␈αnot
␈↓ β↔␈β∞α␈↓βpage␈αheaders/footings.␈↓␈α1␈↓∂W␈↓¬...␈↓β␈αnever␈αaffects␈αyour␈αpage␈αprinter␈αor␈αregister
␈↓ β↔␈β∞"␈↓∂;␈↓β␈α∂and␈α∂is␈α∂useful␈α∂for␈α∞headings/footings,␈α∞especially␈α∞from␈α∞the␈α∞EVERYPAGE
␈↓ β↔␈β∞>␈↓βmacro␈αfeature.␈αThe␈αfollowing␈αother␈αdifferences␈αexist:␈αthe␈↓␈α1␈↓∂W␈↓β...␈αcommand
␈↓ β↔␈β∞↑␈↓βwill␈αforce␈αthe␈αoverlay␈αto␈αbe␈αon␈αthe␈αsame␈αpage,␈αeven␈αif␈αit␈αis␈αoutside␈αthe
␈↓ β↔␈β∞z␈↓βnormal␈α
page␈α
margins,␈α
whereas␈α
the␈↓␈α
1␈↓∂O␈↓β...␈α
command␈α
will␈α
warn␈α
you␈α
if␈α
it␈α
is
␈↓ β↔␈β∂~␈↓βbelow␈α⊃the␈α⊃bottom␈α⊃of␈α⊃the␈α⊃page,␈α⊃or␈α⊂if␈α⊂VERPAG␈α⊂is␈α⊂on␈α⊂(see␈α⊂the␈α⊂special
␈↓ β↔␈β∂8␈↓βfeatures␈α
section)␈α
it␈α
will␈α
be␈α
placed␈α
on␈α
the␈α
next␈α
page␈α
automatically.
␈↓ 
c␈↓α 11␈↓ α≥␈β⊂ ␈↓αPOX writeup,  edited 1975 DEC 05  07:52 PST,  compiled 1976 SEP 27  20:38 -- page 
␈↓ 
c␈↓α 12␈↓ α≥␈β↓α␈↓αPOX writeup,  edited 1975 DEC 05  07:52 PST,  compiled 1976 SEP 27  20:38 -- page 
␈↓ ↓H␈β↓H␈↓1␈↓∂∂␈↓¬<NEW_NAME>␈↓∂←␈↓¬<OLD_NAME>␈↓∂;
␈↓ β↔␈β↓h␈↓β(U␈αJ␈αCR␈αo␈αA)␈α--␈αrename␈αoverlay␈αor␈αmacro␈α
--␈α
if␈α
resultant␈α
name␈α
is␈α
the␈α
null
␈↓ β↔␈βαε␈↓βstring␈α
then␈α
delete␈α
rather␈α
than␈α
rename␈α
--␈α
It␈α
is␈α
probably␈αa␈αgood␈αidea␈αto
␈↓ β↔␈βα$␈↓βdelete␈αany␈αobsolete␈αoverlays␈αor␈αmacros␈αto␈αsave␈αcore␈α--␈αThe␈αonly␈αother
␈↓ β↔␈βαB␈↓βmajor␈α∩reason␈α∩for␈α⊃using␈α⊃this␈α⊃command␈α⊃now␈α⊃is␈α⊃to␈α⊃temporarily␈α⊃rename
␈↓ β↔␈βα`␈↓βsomething␈α∪so␈α∪that␈α∪it␈α∩can␈α∩be␈α∩temporarily␈α∩redefined,␈α∩then␈α∩delete␈α∩the
␈↓ β↔␈βα}␈↓βtemporary␈α⊂definition␈α⊂and␈α⊂rename␈α⊂the␈α⊂permanent␈α∂definition␈α∂back␈α∂again
␈↓ β↔␈ββ≤␈↓βwhen␈α
done␈α
--␈α
The␈α
rename␈α
algorithm␈α
currently␈α
is␈α
as␈α
follows:␈α
Do␈α
all␈αthe
␈↓ β↔␈ββ:␈↓βfollowing,␈αfirst␈αfor␈αoverlays,␈αthen␈αif␈αthat␈αfalls␈αthru,␈αfor␈αmacros:␈α(1)␈αstart
␈↓ β↔␈ββX␈↓βat␈αthe␈αtop␈αof␈αlist␈αof␈αdefinitions,␈αi.e.␈αmost␈αrecently-defined␈αitem;␈α(2)␈αif␈αits
␈↓ β↔␈ββv␈↓βname␈α
equals␈↓¬␈α
<OLD>␈↓β␈α
then␈α
clobber␈α
its␈α
retrieval␈α
name␈α
to␈↓¬␈α<NEW>␈↓β␈αand␈αreturn
␈↓ β↔␈β∧∀␈↓βfrom␈α∞the␈α∞Do␈α∞loop,␈α∞else␈α∞if␈α
its␈α
name␈α
equals␈↓¬␈α
<NEW>␈↓β␈α
then␈α
delete␈α
it␈α
and␈α
fall
␈↓ β↔␈β∧2␈↓βthrough␈α∞to␈α∞3,␈α
else␈α
do␈α
nothing␈α
and␈α
fall␈α
through␈α
to␈α
3;␈α
(3)␈α
move␈α
down␈α
to
␈↓ β↔␈β∧P␈↓βnext␈α∩older␈α∩item␈α⊃in␈α⊃the␈α⊃list;␈α⊃(4)␈α⊃go␈α⊃to␈α⊃2.␈α⊃--␈α⊃Thus␈α⊃it␈α⊃is␈α⊃possible␈α⊃that
␈↓ β↔␈β∧n␈↓βrenaming␈α⊂the␈α⊂latest␈α⊂version␈α⊂of␈α⊂a␈α∂twice-defined␈α∂overlay␈α∂or␈α∂macro␈α∂will
␈↓ β↔␈β¬␈↓βunmask␈αthe␈αolder␈αversion.␈αDon't␈α
rely␈α
on␈α
this,␈α
it␈α
depends␈α
too␈α
much␈α
on␈α
the
␈↓ β↔␈β¬*␈↓βstructure␈αof␈αthe␈αtables␈αof␈αdefinitions,␈αand␈αis␈αlikely␈αto␈αchange␈αin␈α
the␈α
near
␈↓ β↔␈β¬H␈↓βfuture␈α
without␈α
warning!
␈↓ ¬
␈β¬␈␈↓Examples of use of overlays
␈↓ ↓H␈βε"␈↓∂$oNUM[1-b+SQRT(b$↑=10;2$⊗-4ac)]$;  set up the numerator
␈↓ ↓H␈βε@␈↓∂$oDEN[12a]$←=0;$→0$; set up the denominator and a useful register
␈↓ ↓H␈βε↑␈↓∂$; NOTE -- The algorithm as presented here only works when NUM is wider than DEN
␈↓ ↓H␈βε|␈↓∂$1NUM;$→X$2NUM;$+X$→A$; set up x offset, compute size of numerator
␈↓ ↓H␈βπ~␈↓∂$oBAR[V00A0=2;]$; set up a fraction bar the correct length for numerator
␈↓ ↓H␈βπ8␈↓∂$4NUM;$+=3;$¬0$→Y$3DEN;$+=5;$→y$; compute y offsets
␈↓ ↓H␈βπV␈↓∂$1DEN;$→1$2DEN;$¬1$+A$/=2;$→x$; compute x offset
␈↓ ↓H␈βπt␈↓∂$&FRAC←NUM,XY&DEN,xy&BAR,00;$; make fraction a composite overlay
␈↓ 	j␈βπy␈↓-b+SQRT(b␈↓#
2␈↓#-4ac)
␈↓ ↓H␈βλ∩␈↓∂$2FRAC;$¬R$→X$4FRAC;$¬;$→Y$OFRAC,XY$; output overlay rightified
␈∧λ%	jα↓|␈↓ 
W␈βλ*␈↓2a
␈↓ α_␈βλq␈↓βHere's␈αa␈αuseful␈αhack␈αusing␈α
overlays.␈α
Suppose␈α
you␈α
want␈α
to␈α
find␈α
out␈α
how␈α
wide␈α
a␈α
string␈α
of␈α
text␈α
is␈α
in
␈↓ ↓H␈β	∂␈↓βa␈αparticular␈αfont␈α(or␈αcombination␈αof␈αfonts).␈αYou␈αcan␈αcreate␈αan␈αoverlay,␈αmeasure␈αits␈α
parameters␈α
(1,2,3,4),
␈↓ ↓H␈β	-␈↓βthen␈αdelete␈αit␈αright␈αaway␈αto␈αreclaim␈αthe␈αspace␈αused␈αby␈αthe␈αoverlay␈αthat␈αyou␈αwon't␈αactually␈αbe␈α
using␈α
as
␈↓ ↓H␈β	K␈↓βan␈α
overlay.
␈↓ β⊃␈β
α␈↓MACROS (WITHOUT ARGUMENTS) AND REQUIRE SOURCE FILES
␈↓ α_␈β
%␈↓βAll␈αinput␈αto␈αthe␈αPOX␈αtext␈αprocessor␈αpasses␈αthrough␈αa␈αpre-processor␈αwhich␈αinserts␈αmacro␈αbodies,
␈↓ ↓H␈β
C␈↓βarguments␈α∞to␈α∞macros,␈α∞and␈α∞requested␈α∞source␈α∞files␈α∞in␈α∞the␈α∞middle␈α∞of␈α∞the␈α∞input␈α∞stream␈α∞according␈α
to␈α
the
␈↓ ↓H␈β
a␈↓βfollowing␈α
commands:
␈↓ ↓H␈β
⎇␈↓1␈↓∂∞␈↓¬<NAME><OPEN><BODY><CLOSE>
␈↓ β↔␈β≥␈↓β(U␈α
J␈α
CR␈α
o␈α
A)␈α
--␈α
define␈α
a␈α
macro␈α
for␈α
use␈α
later␈α
--␈α
note␈α
that␈α
in␈α
names␈αof
␈↓ β↔␈β;␈↓βmacros,␈αjust␈αlike␈αalmost␈αeverywhere␈αelse,␈αlower␈αcase␈αis␈αnot␈αthe␈αsame␈αas
␈↓ β↔␈βY␈↓βupper␈α⊂case,␈α⊂thus␈↓∂␈α∂foo␈α∂Foo␈α∂fOO␈α∂FOO␈α∂fOo␈α∂foO␈α∂FoO␈↓β␈α∂and␈↓∂␈α∂FOo␈↓β␈α∂are␈α∂eight
␈↓ β↔␈βr␈↓βdifferent␈α∪names␈α∪--␈α∪also,␈α∩the␈↓¬␈α∩<BODY>␈↓␈α∩is␈α∩not␈α∩evaluated␈α∩during␈α∩this
␈↓ β↔␈β⊂␈↓definition␈α∪phase␈↓β,␈α∪i.e.␈α∪the␈α∪escape␈α∪character␈α∩and␈α∩anything␈α∩else␈α∩may
␈↓ β↔␈β3␈↓βoccur␈α∞in␈α∞the␈α∞body,␈α
nothing␈α
special␈α
happens␈α
as␈α
the␈α
escape␈α
character␈α
is
␈↓ β↔␈βQ␈↓βcopied␈α∩into␈α∩the␈α∩macro,␈α⊃escape␈α⊃only␈α⊃occurs␈α⊃later␈α⊃when␈α⊃the␈α⊃macro␈α⊃is
␈↓ β↔␈βo␈↓βactually␈α⊂called,␈α⊂resulting␈α⊂in␈α⊂the␈α∂escape␈α∂character␈α∂and␈α∂everything␈α∂else
␈↓ β↔␈β

␈↓βgetting␈α
stuffed␈α
into␈α
the␈α
input␈α
stream.
␈↓ ↓H␈β
)␈↓1␈↓∂!␈↓¬<NAME>␈↓∂;␈↓β␈↓ β↔(U␈αJ␈αCR␈αo␈α
A)␈α
--␈α
call␈α
a␈α
macro,␈α
i.e.␈α
insert␈α
body␈α
from␈α
definition␈α
right␈α
here␈α
in
␈↓ β↔␈β
I␈↓βinput␈α∂stream,␈α∂hence␈α∂occurrances␈α∂of␈α∂the␈α∂escape␈α∂character␈α∞in␈α∞the␈α∞body
␈↓ β↔␈β
g␈↓βwill␈α
cause␈α
things␈α
to␈α
occur␈α
now␈α
(See␈α
note␈α
1␈α
also)
␈↓ ↓H␈β∞β␈↓1␈↓∂?␈↓¬<NAME>␈↓∂;␈↓β␈↓ β↔(U␈α∪J␈α∩CR␈α∩o␈α∩A)␈α∩--␈α∩"conditional␈α∩macro"␈α∩--␈α∩same␈α∩syntax␈α∩as␈α∩above␈α∩but
␈↓ β↔␈β∞#␈↓βgenerate␈α
nothing␈α
unless␈α
accumulator␈α
is␈α
positive␈α
(See␈α
note␈α
3)
␈↓ ↓H␈β∞]␈↓1␈↓∂@␈↓¬<FILNAM>␈↓∂;␈↓β␈↓ β↔(U␈α
J␈α
CR␈α
o␈α
A)␈α
--␈α
insert␈α
source␈α
file␈α
here␈α
then␈α
return␈α
to␈α
current␈α
file.
␈↓ ↓H␈β∞{␈↓1␈↓∂α␈↓¬<FILNAM>␈↓∂;␈↓β␈↓ β↔(U)␈α∞--␈α
insert␈α
source␈α
file␈α
here␈α
but␈α
don't␈α
come␈α
back␈α
here␈α
--␈α
the␈α
rest␈α
of
␈↓ β↔␈β∂≠␈↓βthis␈α
file,␈α
and␈α
any␈α
files␈α
that␈α
called␈α
it,␈α
are␈α
not␈α
processed.
␈↓ 
c␈↓α 12␈↓ α≥␈β⊂ ␈↓αPOX writeup,  edited 1975 DEC 05  07:52 PST,  compiled 1976 SEP 27  20:38 -- page 
␈↓ 
c␈↓α 13␈↓ α≥␈β↓α␈↓αPOX writeup,  edited 1975 DEC 05  07:52 PST,  compiled 1976 SEP 27  20:38 -- page 
␈↓ ↓H␈β↓H␈↓1␈↓∂∀␈↓¬<FILNAM>␈↓∂;␈↓¬<LIST OF DESIRED MACRO NAMES>␈↓∂;
␈↓ β↔␈β↓h␈↓β(U␈α
J␈α
CR␈α
o␈α
A)␈α
--␈α
scan␈α
source␈α
file␈α
that␈α
contains␈α
macro␈α
definitions␈α
(see␈α
next
␈↓ β↔␈βαε␈↓βsection␈αon␈αmacros␈αwith␈αarguments,␈αas␈αwell␈αas␈αthis␈αsection,␈αfor␈αdetails␈αon
␈↓ β↔␈βα$␈↓βthe␈α∂macro␈α∂definitions␈α∂themselves).␈α∂At␈α∂present,␈α∂the␈α∂file␈α∂must␈α∂contain␈α∂a
␈↓ β↔␈βαB␈↓βTV/E␈α∞directory␈α
to␈α
avoid␈α
a␈α
bug␈α
in␈α
POX.␈α
Nothing␈α
in␈α
the␈α
file␈α
is␈α
processed
␈↓ β↔␈βα`␈↓βunless␈α∞it␈α∞simultaneously␈α∞satisfies␈α∞these␈α∞conditions:␈α∞(1)␈α∞It␈α∞begins␈α∞with␈α
a
␈↓ β↔␈βα}␈↓βbrick␈αcharacter␈αin␈αcolumn␈α1␈αof␈αthe␈αfile,␈αi.e.␈αimmediately␈αafter␈αa␈αlinefeed;
␈↓ β↔␈ββ≤␈↓β(2)␈α∞It␈α
has␈α
either␈α
a␈↓∂␈α
∞␈↓β␈α
or␈↓∂␈α
8␈↓β␈α
in␈α
column␈α
2,␈α
i.e.␈α
it␈α
is␈α
a␈α
command␈α
to␈α
define␈α
a
␈↓ β↔␈ββ8␈↓βmacro;␈α⊂(3)␈α⊂The␈α⊂name␈α⊂of␈α⊂the␈α⊂macro␈α⊂(in␈α⊂the␈↓␈α∂1␈↓∂∞␈↓β␈α∂or␈↓␈α∂1␈↓∂8␈↓β␈α∂command␈α∂being
␈↓ β↔␈ββX␈↓βtested)␈α∂is␈α∂a␈α∂member␈α∂of␈↓¬␈α∂<LIST␈α∞OF␈α∞DESIRED␈α∞MACRO␈α∞NAMES>␈↓β␈α∞that␈α∞has␈α∞not␈α∞yet
␈↓ β↔␈ββt␈↓βbeen␈α
used.␈α
In␈α
particular,␈↓␈α
1␈↓∂!␈↓¬...␈↓β␈α
commands␈α
are␈α
not␈α
processed,␈αso␈αthat␈αthe
␈↓ β↔␈β∧∀␈↓βentire␈α⊗library␈α⊗must␈α⊗use␈α⊗the␈α⊗same␈α⊗brick␈α⊗character,␈α⊗and␈α∃this␈α∃brick
␈↓ β↔␈β∧0␈↓βcharacter␈αmust␈αbe␈αset␈αup␈αbefore␈αissuing␈αthe␈↓␈α
1␈↓∂∀␈↓¬...␈↓β␈α
command.␈α
Also,␈↓␈α
1␈↓∂⊂␈↓β␈α
etc.
␈↓ β↔␈β∧P␈↓βcommands␈αare␈αnot␈αprocessed,␈αso␈αthat␈αall␈αbits␈αneeded␈αfor␈αcorrect␈αloading
␈↓ β↔␈β∧n␈↓βof␈α∀macros,␈α∀namely␈α∀VERREM='40,␈α∀VERRHT='400␈α∪and␈α∪VERESC='100000,
␈↓ β↔␈β¬
␈↓βmust␈α∀be␈α∀in␈α∀the␈α∀proper␈α∪state␈α∪before␈α∪issuing␈α∪the␈↓␈α∪1␈↓∂∀␈↓β␈α∪command.␈α∪For
␈↓ β↔␈β¬*␈↓βdocumentation␈αpurposes␈α
,␈α
any␈α
library␈α
of␈α
POX␈α
macros␈α
should␈α
begin␈α
with␈α
a
␈↓ β↔␈β¬F␈↓βcomment␈α
(or␈α
a␈↓␈α
1␈↓∂⊂␈↓␈α1␈↓∂⊃␈↓β␈αcommand␈αpair)␈αthat␈αreminds␈αusers␈αof␈αthe␈αcorrect
␈↓ β↔␈β¬f␈↓βstates␈α
of␈α
these␈α
special-feature␈α
flags.␈α
--␈α
Example:
␈↓ β7␈βεα␈↓1␈↓∂∀REMLIB.POX[1,REM];DATIME,PAGENUMS,SUB,SUP,PAGENUMS;
␈↓ β↔␈βε"␈↓βThis␈α⊗loads␈α⊗the␈α⊗second-occurring␈α⊗version␈α⊗of␈α∃PAGENUMS␈α∃on␈α∃top␈α∃of
␈↓ β↔␈βε@␈↓β(replacing)␈α⊃the␈α⊃first,␈α⊂and␈α⊂loads␈α⊂only␈α⊂the␈α⊂first␈α⊂version␈α⊂of␈α⊂each␈α⊂of␈α⊂the
␈↓ β↔␈βε↑␈↓βother␈α∞macros.␈α∞It␈α∞is␈α∞probably␈α∞preferable␈α∞to␈α
use␈α
"fully-cataloged"␈α
names
␈↓ β↔␈βε|␈↓βrather␈α∪than␈α∪have␈α∩several␈α∩different␈α∩macros␈α∩by␈α∩the␈α∩same,␈α∩then␈α∩after
␈↓ β↔␈βπ_␈↓βloading␈α⊃to␈α⊃rename␈α⊃each␈α⊂macro␈α⊂(using␈α⊂the␈↓␈α⊂1␈↓∂∂␈↓β␈α⊂command)␈α⊂to␈α⊂a␈α⊂shorter
␈↓ β↔␈βπ8␈↓βname␈α∂that␈α∂will␈α∂be␈α∂used␈α∂locally.␈α∂[REM␈α∂is␈α∂in␈α∂the␈α∂process␈α∞of␈α∞compiling␈α∞a
␈↓ β↔␈βπV␈↓βlibrary␈α
of␈α
some␈α
of␈α
the␈α
generally-useful␈α
and␈α
requested␈α
macros␈α
--␈α1975
␈↓ β↔␈βπt␈↓βOct-Dec.]
␈↓ ↓H␈βλ⊂␈↓1␈↓∂β␈↓¬<FILNAM>␈↓∂;␈↓β␈↓ β↔(U␈αJ␈αCR␈αo␈αA)␈α--␈αlookup␈αfile␈αbut␈α
don't␈α
read␈α
any␈α
of␈α
it.␈α
Warn␈α
the␈α
user␈α
if␈α
the
␈↓ β↔␈βλ0␈↓βfile␈α
does␈α
not␈α
exist.␈α
Do␈α
not␈α
in␈α
any␈αcase␈αgenerate␈αan␈αerror␈αor␈αaffect␈αthe
␈↓ β↔␈βλN␈↓βstate␈α⊂of␈α⊂the␈α⊂text␈α⊂compilation␈α⊂in␈α⊂progress.␈α⊂Useful␈α⊂for␈α∂checking␈α∂all␈α∂the
␈↓ β↔␈βλl␈↓βrequired␈αsource␈αfiles␈αat␈αthe␈αbeginning␈αof␈αa␈α
long␈α
compilation␈α
to␈α
save␈α
time
␈↓ β↔␈β	
␈↓βif␈α
several␈α
files␈α
to␈α
be␈α
called␈α
later␈α
are␈α
missing␈α
and␈α
need␈α
to␈α
be␈α
restored.
␈↓ α_␈β	(␈↓βIn␈α
the␈α
above,␈↓¬␈α
<FILNAM>␈↓β␈α
is␈α
a␈α
standard␈α
file␈α
name␈↓∂␈α
FILNAM.EXT[P,P]␈↓β␈α
which␈α
must␈α
be␈α
either␈α
a␈α
non-POX
␈↓ ↓H␈β	F␈↓βfile␈α∂with␈α∞no␈α∞occurrances␈α∞of␈α∞the␈α∞brick␈α∞character␈α∞or␈α∞a␈α∞pox␈α∞file␈α∞that␈α∞does␈α∞not␈α∞begin␈α∞with␈α∞a␈α∞bare␈α∞brick
␈↓ ↓H␈β	b␈↓βcharacter␈α⊃i.e.␈α⊃it␈α⊃should␈α⊃begin␈α⊂with␈α⊂something␈α⊂like␈↓␈α⊂1␈↓∂|␈↓1␈↓β,␈↓¬␈α⊂<OPEN>␈↓β␈α⊂and␈↓¬␈α⊂<CLOSE>␈↓β␈α⊂are␈α⊂a␈α⊂matching␈α⊂pair␈α⊂of
␈↓ ↓H␈β
α␈↓βparenthesis␈αsuch␈αas␈↓∂␈α()␈α[]␈α{}␈α⊂⊃␈α<>␈↓β,␈αin␈αwhich␈αcase␈αoccurrances␈αof␈αthese␈αcharacters␈αin␈αthe␈αbody␈αmust
␈↓ ↓H␈β
 ␈↓βbe␈α
correctly␈α
matched,␈α
or␈α
two␈α
identical␈α
quoting␈α
characters␈α
such␈α
as␈↓∂␈α
""␈α
//␈α
↓↓␈α
⊗⊗␈α
||␈α∂∂␈↓β,␈αin␈αwhich␈αcase
␈↓ ↓H␈β
>␈↓βthe␈α∂quoting␈α∂character␈α∂is␈α∂not␈α∂allowed␈α∂to␈α∂occur␈α∂in␈α∂the␈α∂body␈α∂at␈α∂all␈α∂(the␈α∞complete␈α∞current␈α∞list␈α∞of␈α∞legal
␈↓ ↓H␈β
\␈↓βnesting␈α
and␈α
quoting␈α
characters␈α
may␈α
be␈α
found␈α
by␈α
examining␈α
the␈α
source␈α
for␈α
POX).
␈↓ α_␈β
x␈↓β<UC>␈αare␈αuncoupling␈αflags␈α(in␈↓␈α1␈↓∂@␈↓β␈αcommand,␈αafter␈αfile␈αname,␈αbefore␈α";"),␈αcurrently␈αunimplemented.
␈↓ ↓H␈β_␈↓βTheir␈αpurpose␈αwill␈αbe␈αto␈αsave␈αvarious␈αinternal␈αstates␈αbefore␈αbeginning␈αto␈αinput␈αan␈αinserted␈αsource␈αfile,
␈↓ ↓H␈β6␈↓βthen␈α∃to␈α∃restore␈α∃those␈α∃states␈α∃before␈α∃returning␈α∃so␈α∃that␈α∃the␈α∃inserted␈α∃file␈α∃won't␈α∀pass␈α∀undesired
␈↓ ↓H␈βT␈↓βside-effects␈αback␈αto␈αthe␈αmain␈αprogram.␈αIn␈αthe␈αabsence␈αof␈αany␈α<UC>␈αflags,␈αany␈αmacro-definitions␈αor␈αfont
␈↓ ↓H␈βr␈↓βcompilations␈αetc.␈αdone␈αin␈αthe␈αinserted␈α
source␈α
file␈α
will␈α
stay␈α
in␈α
effect␈α
after␈α
returning␈α
to␈α
the␈α
current␈α
file,␈α
a
␈↓ ↓H␈β⊂␈↓βsometimes␈α
undesirable␈α
effect.
␈↓ ∧>␈βG␈↓Examples of macros without arguments
␈↓ ↓H␈βj␈↓∂$∞SUPERSCRIPT[$F1$∩$F2]$∞NORMAL[$F1$⊗]$;
␈↓ ↓H␈β
λ␈↓∂$!NORMAL;Y = X$!SUPERSCRIPT;i+1$!NORMAL;-1
␈↓ ↓H␈β
↔␈↓Y = X␈↓α␈↓#⊂i+1␈↓-1
␈↓ ↓H␈β
c␈↓∂$∞SOJGxFOO[$F2(FOO)$←N$-=1;$→N$?SOJGxFOO;]$; set up a count-down-to-zero loop
␈↓ ↓H␈β∞↓␈↓∂$; note that the above macro will recursively call itself N levels deep
␈↓ ↓H␈β∞∨␈↓∂$←=15;$→N$!SOJGxFOO;$; call the loop with N=15 to generate 15 copies of (FOO)
␈↓ ↓H␈β∞[␈↓α(FOO)(FOO)(FOO)(FOO)(FOO)(FOO)(FOO)(FOO)(FOO)(FOO)(FOO)(FOO)(FOO)(FOO)(FOO)
␈↓ 
c␈↓α 13␈↓ α≥␈β⊂ ␈↓αPOX writeup,  edited 1975 DEC 05  07:52 PST,  compiled 1976 SEP 27  20:38 -- page 
␈↓ 
c␈↓α 14␈↓ α≥␈β↓α␈↓αPOX writeup,  edited 1975 DEC 05  07:52 PST,  compiled 1976 SEP 27  20:38 -- page 
␈↓ β~␈β↓H␈↓MACROS WITH ARGUMENTS -- EVALUATED LIKE LISP EXPR'S
␈↓ α_␈β↓k␈↓βMany␈α
of␈α
the␈αcommands␈αdescribed␈αabove␈αare␈αtoo␈αelementary␈αto␈αbe␈αless␈αthan␈αtedious␈αin␈αpractice,
␈↓ ↓H␈βα	␈↓βeven␈α⊃with␈α⊃macros␈α⊃used␈α⊃to␈α⊂abbreviate␈α⊂long␈α⊂sequences␈α⊂of␈α⊂commands.␈α⊂Complicated␈α⊂things␈α⊂are␈α⊂almost
␈↓ ↓H␈βα'␈↓βunbearable,␈α∞for␈α∞example␈α∞to␈α∞create␈α∞a␈α∞superscript␈α∞above␈α∞a␈α∞subscript␈α
as␈α
in␈α
"x-sub-i-to-the-nth-power"
␈↓ ↓H␈βαE␈↓βwould␈α
require␈α
quite␈α
a␈α
mess␈α
of␈α
almost␈α
unreadable␈α
code,␈α
such␈α
as:
␈↓ αH␈βαa␈↓1␈↓∂F1␈↓1␈↓∂⊗x␈↓1␈↓∂←.␈↓1␈↓∂→0␈↓1␈↓∂↑=15;␈↓1␈↓∂F2n␈↓1␈↓∂←.␈↓1␈↓∂→1␈↓1␈↓∂←0␈↓1␈↓∂→.␈↓1␈↓∂↓=12;i␈↓1␈↓∂←.␈↓1␈↓∂~1␈↓1␈↓∂→.␈↓1␈↓∂⊗␈↓1␈↓∂F1
␈↓ ↓H␈ββ↓␈↓βwhere␈αyou␈αmay␈αhave␈αtrouble␈αlocating␈αthe␈αterms␈α"␈↓∂x␈↓β",␈α"␈↓∂n␈↓β"␈αand␈α"␈↓∂i␈↓β"␈αamong␈αall␈αthe␈αoverhead.␈αUsing␈αmacros
␈↓ ↓H␈ββ∨␈↓βwithout␈α∩arguments␈α∩may␈α∩result␈α∩in␈α∩some␈α∩increase␈α∩in␈α∩readability.␈α∩This␈α⊃can␈α⊃be␈α⊃done␈α⊃in␈α⊃at␈α⊃least␈α⊃two
␈↓ ↓H␈ββ=␈↓βreasonable␈α
ways,␈α
resulting␈α
in:
␈↓ αH␈ββY␈↓1␈↓∂!txt;x␈↓1␈↓∂!savecol;␈↓1␈↓∂!sub;i␈↓1␈↓∂!swapcol;␈↓1␈↓∂!sup;n␈↓1␈↓∂!maxcol;
␈↓ ↓H␈ββw␈↓βor␈↓␈↓ αH1␈↓∂∞main[x]␈↓1␈↓∂∞sub[i]␈↓1␈↓∂∞sup[n]␈↓1␈↓∂!sbp;
␈↓ ↓H␈β∧↔␈↓βMacros␈α∂with␈α∂arguments␈α∂make␈α∂things␈α∂easier␈α∂and␈α∂much␈α∂more␈α∂readable.␈α∂After␈α∂once␈α∞defining␈α∞the␈α∞macro
␈↓ ↓H␈β∧5␈↓∂sbp(main,sub,sup)␈↓β␈α~(see␈α~the␈α~examples␈α→later␈α→in␈α→this␈α→section␈α→for␈α→details)␈α→we␈α→can␈α→generate
␈↓ ↓H␈β∧S␈↓βx-sub-i-to-the-nth-power␈α
by␈α
the␈α
simple:
␈↓ αH␈β∧o␈↓1␈↓∂!sbp(x,i,n);
␈↓ ↓H␈β¬∂␈↓βThe␈α
pseudo-language␈α
we␈α
thus␈αbuild␈αup␈αout␈αof␈αmacros-with-arguments␈αpartially␈αobviates␈αthe␈αnecessity
␈↓ ↓H␈β¬-␈↓βof␈α
fixing␈α
the␈α
"bad"␈α
syntax␈α
that␈α
POX␈α
has.
␈↓ ∧{␈β¬i␈↓βDEFINE MACRO -- VERREM SYNTAX
␈↓ β∞␈βεπ␈↓β(THIS AND FOLLOWING SECTIONS WERE REWRITTEN 1975.NOV.27-DEC.05)
␈↓ ↓H␈βε#␈↓1␈↓∂8␈↓¬<NAME>␈↓∂(␈↓¬<ARGNAMES>␈↓∂)␈↓¬<OPEN><BODY><CLOSE>
␈↓ α?␈βεC␈↓β(U␈α⊂J␈α⊂CR␈α∂o␈α∂A)␈α∂--␈α∂Define␈α∂a␈α∂macro␈α∂with␈α∂arguments␈α∂(up␈α∂to␈↓∂␈α∂'30␈↓β␈α∂arguments␈α∂currently
␈↓ α?␈βεa␈↓βallowed).␈α∂The␈α∞VERREM␈α∞special-feature␈α∞bit␈α∞must␈α∞be␈α∞on␈α∞at␈α∞the␈α∞time␈α∞this␈α∞command␈α∞is
␈↓ α?␈βε␈␈↓βscanned.␈α
See␈α
details␈α
of␈α
syntax␈α
below.
␈↓ α?␈βπ≥␈↓¬<ARGNAMES>␈↓β␈α
--␈α
Up␈α
to␈↓∂␈α'30␈↓β␈αalphanumeric␈αstrings␈αseparated␈αby␈αcommas.␈α(Note␈αthat␈αthe
␈↓ α?␈βπ;␈↓βcharacters␈α
surrounding␈↓¬␈α
<ARGNAMES>␈↓β␈α
must␈α
be␈α
parenthesis.)
␈↓ α?␈βπY␈↓¬<BODY>␈↓β␈α
--␈α
An␈α
arbitrary␈α
string␈αof␈αtext␈αto␈αbe␈αcopied␈αverbatum␈αinto␈αthe␈α"body"␈αof␈αthe
␈↓ α?␈βπw␈↓βmacro.␈αThis␈αtext␈αwill␈αbe␈αspliced␈αinto␈αthe␈αinput␈αstream␈αlater␈αwhen␈αthe␈αmacro␈αis␈αcalled
␈↓ α?␈βλ∪␈↓β(see␈α_the␈↓␈α_1␈↓∂!␈↓β...␈α_command),␈α_just␈α_like␈α_macros␈α↔without␈α↔arguments.␈α↔The␈α↔following
␈↓ α?␈βλ3␈↓βexceptions␈α
to␈α
the␈α
"verbatum"␈α
copying␈α
exist:
␈↓ α?␈βλQ␈↓¬<OPEN>␈↓β␈α∞and␈↓¬␈α∞<CLOSE>␈↓β␈α∞must␈α∞be␈α∞properly-nested␈α
if␈α
they␈α
appear␈α
at␈α
all␈α
inside␈α
the␈α
body.
␈↓ α?␈βλo␈↓βPOX␈α∞counts␈α∞how␈α∞many␈α∞levels␈α∞deep␈α
you␈α
are,␈α
and␈α
only␈α
terminates␈α
parsing␈α
when␈α
the
␈↓ α?␈β	
␈↓βdepth␈α
reaches␈α
zero,␈α
i.e.␈αwhen␈αthe␈↓¬␈α<CLOSE>␈↓β␈αappears␈αthat␈αmatches␈αthe␈αoriginal␈↓¬␈α<OPEN>␈↓β.
␈↓ α?␈β	+␈↓βOf␈αcourse,␈αif␈αyou␈αuse␈αa␈αquoting␈αpair␈αto␈αdelimit␈αthe␈αbody,␈αthe␈αquoting␈αcharacters␈αmay
␈↓ α?␈β	I␈↓βnot␈α
appear␈α
at␈α
all␈α
in␈α
the␈α
body.
␈↓ α?␈β	e␈↓1␈↓β␈α⊂(i.e.␈α⊂whatever␈α⊂your␈α⊂brick␈α⊂character␈α⊂is␈α⊂at␈α⊂the␈α⊂time␈α∂you␈α∂define␈α∂the␈α∂macro)␈α∂gets
␈↓ α?␈β
¬␈↓βconverted␈α
into␈α
a␈↓¬␈α
<BRICK>␈↓β␈α
token␈αif␈αthe␈αVERESC␈αspecial-feature␈αbit␈αis␈αon,␈αotherwise␈αit
␈↓ α?␈β
#␈↓βgets␈αcopied␈αverbatum␈αtoo.␈αWhen␈αthe␈↓¬␈α<BRICK>␈↓β␈αtoken␈αis␈αseen␈αlater␈αwhen␈αexpanding␈αthe
␈↓ α?␈β
?␈↓βmacro,␈αit␈αgets␈αconverted␈αto␈αthe␈↓␈α1␈↓β␈α
character,␈α
which␈α
will␈α
be␈α
a␈α
different␈α
character␈α
from
␈↓ α?␈β
]␈↓βthe␈α⊃original␈α⊃if␈α⊂you␈α⊂have␈α⊂used␈α⊂the␈↓␈α⊂1␈↓∂|␈↓¬<ch>␈↓β␈α⊂to␈α⊂redefine␈α⊂the␈α⊂brick␈α⊂character␈α⊂in␈α⊂the
␈↓ α?␈β
⎇␈↓βmeantime.␈α⊂(Without␈α⊂the␈α∂VERESC␈α∂feature,␈α∂it␈α∂would␈α∂be␈α∂the␈α∂same␈α∂ASCII␈α∂character␈α∂as
␈↓ α?␈β≠␈↓βbefore,␈α
even␈α
if␈α
it␈α
was␈α
no␈α
longer␈α
the␈α
brick␈α
character.
␈↓ α?␈β9␈↓∂⊗$⊗␈↓β␈α∂gets␈α∂converted␈α∂into␈α∞the␈↓¬␈α∞<BRICK>␈↓β␈α∞token␈α∞regardless␈α∞of␈α∞the␈α∞state␈α∞of␈α∞the␈α∞VERESC
␈↓ α?␈βW␈↓βflag.
␈↓ α?␈βu␈↓∂⊗⊗␈↓β␈α
gets␈α
converted␈α
into␈α
a␈α
␈↓&single␈↓)αβ␈↓∂␈α
⊗␈↓β␈α
character.
␈↓ α?␈β∪␈↓∂⊗␈↓¬<ARGNAME>␈↓∂⊗␈↓β␈α∩(one␈α∩of␈α∩the␈α∩argument-names␈α∩you␈α∩specified␈α∩in␈α∩the␈↓¬␈α∩<ARGNAMES>␈↓β)␈α∩gets
␈↓ α?␈β1␈↓βconverted␈α∂into␈α∂the␈α∂appropriate␈↓¬␈α∂<ARGn>␈↓β␈α∂token.␈α∂Later␈α∞when␈α∞the␈α∞macro␈α∞is␈α∞called,␈α∞this
␈↓ α?␈βB␈↓βtoken␈α
is␈α
replaced␈α
by␈α
the␈α
n␈↓#
th␈↓#␈α
actual-argument␈α
string.
␈↓ α?␈βe␈↓∂⊗@␈↓εq␈↓∂⊗␈↓β␈α∩(not␈α∩supported,␈α∩and␈α⊃likely␈α⊃to␈α⊃be␈α⊃purged␈α⊃or␈α⊃differently-implemented␈α⊃soon)
␈↓ α?␈β
␈↓βperforms␈αthe␈αregister-argument␈αlookup␈α
and␈α
uses␈α
the␈α
value␈α
thus␈α
obtained␈α
(must␈α
be␈α
in
␈↓ α?␈β
)␈↓βthe␈α
range␈↓∂␈α
0␈↓β␈α
to␈↓∂␈α
'30␈↓β)␈α
to␈α
generate␈α
the␈α
corresponding␈↓¬␈α
<ARGn>␈↓β␈α
token.
␈↓ α?␈β
G␈↓∂⊗␈↓β...␈↓∂⊗␈↓β␈α∀--␈α∀anything␈α∀else␈α∀after␈α∀a␈↓∂␈α∀⊗␈↓β␈α∀character␈α∪is␈α∪illegal.␈α∪An␈α∪error␈α∪will␈α∪usually␈α∪be
␈↓ α?␈β
e␈↓βgenerated␈α
before␈α
the␈α
second␈↓∂␈α
⊗␈↓β␈α
is␈α
seen␈α
(if␈α
there␈α
is␈α
one).
␈↓ ∧j␈β∞!␈↓βCALLING MACROS -- LIKE LISP EXPR'S
␈↓ ↓H␈β∞=␈↓1␈↓∂!␈↓¬<NAME><ARGBATCH><ARGBATCH>␈↓β...␈↓¬<ARGBATCH>␈↓∂;
␈↓ ↓H␈β∞]␈↓βwhere each ␈↓¬<ARGBATCH>␈↓β is of the form ␈↓¬<OPEN><ACTUAL ARGS><CLOSE>
␈↓ ↓H␈β∞{␈↓βand each ␈↓¬<ACTUAL ARGS>␈↓β consists of arguments separated by commas, as described below.
␈↓ α?␈β∂→␈↓β(U␈α⊃J␈α⊃CR␈α⊃o␈α⊃A)␈α⊃--␈α⊃Call␈α⊃a␈α⊃macro␈α⊃with␈α⊃arguments.␈α⊃Each␈↓¬␈α⊃<ARGBATCH>␈↓β␈α⊃unit␈α⊂may␈α⊂use␈α⊂a
␈↓ α?␈β∂7␈↓βdifferent␈↓¬␈α<OPEN>␈α<CLOSE>␈↓β␈αpair␈α(when␈αthe␈↓¬␈α<OPEN>␈↓β␈αis␈αseen,␈αPOX␈αlooks␈αit␈αup␈αin␈αa␈αtable␈αto
␈↓ 
c␈↓α 14␈↓ α≥␈β⊂ ␈↓αPOX writeup,  edited 1975 DEC 05  07:52 PST,  compiled 1976 SEP 27  20:38 -- page 
␈↓ 
c␈↓α 15␈↓ α≥␈β↓α␈↓αPOX writeup,  edited 1975 DEC 05  07:52 PST,  compiled 1976 SEP 27  20:38 -- page 
␈↓ α?␈β↓H␈↓βdetermine␈αwhich␈↓¬␈α
<CLOSE>␈↓β␈α
to␈α
look␈α
for)␈α
selected␈α
from␈α
the␈α
legal␈α
nesting␈α
or␈α
quoting␈α
pairs.
␈↓ α?␈β↓f␈↓βAs␈α
many␈α
arguments␈α
as␈α
desired,␈α
separated␈α
by␈α
commas,␈α
may␈α
appear␈α
in␈α
a␈α
single␈↓¬␈α
<ACTUAL
␈↓ α?␈βα∧␈↓¬ARGS>␈↓β␈αitem,␈αand␈αas␈αmany␈↓¬␈α<ARGBATCH>␈↓β␈αunits␈αmay␈α
appear␈α
altogether␈α
(as␈α
indicated␈α
by␈α
the
␈↓ α?␈βα"␈↓β"..."␈αin␈αthe␈αabove␈αsyntax␈αspecification),␈αproviding␈αthat␈αthe␈αtotal␈αnumber␈αof␈αarguments
␈↓ α?␈βα@␈↓βdoes␈α
not␈α
exceed␈↓∂␈α
'30␈↓β.␈α
The␈α
most␈α
common␈α
way␈α
of␈αdoing␈αit,␈αand␈αthe␈αeasiest,␈αis␈αto␈αuse
␈↓ α?␈βα↑␈↓βordinary␈α
parenthesis,␈α
with␈α
all␈α
arguments␈α
in␈α
a␈α
single␈↓¬␈α
<ARGBATCH>␈↓β␈α
unit,␈α
for␈α
example:
␈↓ βU␈βαz␈↓1␈↓∂!FOO(First argument,Second argument,Third arg);
␈↓ α?␈ββ~␈↓βHowever,␈αif␈αany␈αargument␈αcontains␈αor␈αgenerates␈αa␈αcomma,␈αit␈αis␈αnecessary␈αto␈αturn␈αon
␈↓ α?␈ββ8␈↓βthe␈αVE1LES␈αspecial-feature␈αbit␈α(to␈αprevent␈αcomma␈αfrom␈αdelimiting␈αarguments)␈αand␈αto
␈↓ α?␈ββV␈↓βenclose␈α
each␈α
argument␈α
in␈α
a␈α
separate␈α
set␈α
of␈α
nesting␈α
characters,␈α
such␈α
as:
␈↓ α⎇␈ββr␈↓1␈↓∂!LESHACK(First argument with ",")(Second argument)(Third);
␈↓ α?␈β∧∩␈↓βAlso,␈α⊃if␈α⊃parenthesis␈α⊃occur␈α⊂inside␈α⊂arguments,␈α⊂it␈α⊂is␈α⊂usually␈α⊂necessary␈α⊂to␈α⊂use␈α⊂some
␈↓ α?␈β∧0␈↓βother␈α
nesting␈α
or␈α
quoting␈α
pair,␈α
for␈α
example:
␈↓ β∃␈β∧L␈↓1␈↓∂!MESS<This contains (, [, ", and { inside an argument>;
␈↓ α?␈β∧l␈↓βA␈α$detailed␈α$description␈α$of␈α$the␈α$algorithm␈α$that␈α#is␈α#used␈α#to␈α#scan␈α#the
␈↓ α?␈β¬
␈↓βmacro-with-arguments␈α
syntax,␈α
build␈α
up␈α
arguments,␈α
bind␈α
them␈α
to␈α
the␈↓¬␈α
<ARGn>␈↓β␈α
table␈α
that
␈↓ α?␈β¬(␈↓βis␈αpassed␈αto␈αthe␈αmacro-body␈αexpander,␈αand␈αthe␈αalgorithm␈αthe␈αmacro-body␈αexpander
␈↓ α?␈β¬F␈↓βuses␈α∂to␈α∂splice␈α∂the␈α∂macro␈α∂body␈α∂and␈α∂the␈α∂arguments␈α∞into␈α∞the␈α∞input␈α∞stream,␈α∞is␈α∞given
␈↓ α?␈β¬d␈↓βlater.␈αIf␈αyou␈αplan␈αto␈αdo␈αanything␈αcomplicated␈αwith␈αmacros,␈αyou␈αwill␈αneed␈αto␈αread␈αthe
␈↓ α?␈βεα␈↓βalgorithm-description␈α∩and␈α∩understand␈α⊃it␈α⊃in␈α⊃order␈α⊃to␈α⊃predict␈α⊃what␈α⊃happens␈α⊃when
␈↓ α?␈βε≡␈↓βvarious␈α
special␈α
characters␈α
(␈↓¬<COMMA>␈α
<OPEN>␈α
<CLOSE>␈↓β␈αand␈↓␈α1␈↓β)␈αare␈αgenerated␈αinside␈αthe
␈↓ α?␈βε>␈↓βscanning-of-arguments␈αprocess.␈α
Note␈α
that␈α
it␈α
is␈α
not␈α
legal␈α
to␈α
generate␈α
an␈α
ASCII␈α
'177␈α
or
␈↓ α?␈βε\␈↓β'0␈αcharacter␈αwhile␈αpreparing␈α
an␈α
argument,␈α
thus␈α
many␈α
commands␈α
(such␈α
as␈α
font-select)
␈↓ α?␈βεz␈↓βare␈α∞illegal␈α∞inside␈α∞arguments.␈α∞By␈α∞quoting␈α
the␈α
characters␈α
that␈α
make␈α
up␈α
the␈α
command
␈↓ α?␈βπ_␈↓β(see␈α⊃below),␈α⊃however,␈α⊃the␈α⊂evaluation␈α⊂of␈α⊂such␈α⊂commands␈α⊂may␈α⊂be␈α⊂postponed␈α⊂until
␈↓ α?␈βπ6␈↓βafter␈αthe␈αexpanded␈αmacro␈αhas␈αbeen␈αgenerated␈αand␈αpatched␈αinto␈αthe␈αinput␈αstream,␈αat
␈↓ α?␈βπR␈↓βa␈αtime␈αwhen␈αsuch␈αcommands␈αare␈αlegal.␈αBe␈αaware␈αthat␈αother␈αcommands␈αsuch␈αas␈↓␈α1␈↓∂A␈↓β...
␈↓ α?␈βπr␈↓βhave␈α⊃a␈α⊃slightly␈α⊃different␈α⊃effect␈α⊃depending␈α⊃on␈α⊃whether␈α⊃they␈α⊂are␈α⊂evaluated␈α⊂while
␈↓ α?␈βλ⊂␈↓βscanning␈αan␈αargument␈αor␈αwhile␈αgenerating␈αoutput␈αtext␈αlater,␈αand␈αthat␈αcommands␈αthat
␈↓ α?␈βλ.␈↓βfetch␈αcontents␈αof␈αregisters␈αetc.␈αwill␈αgive␈αdifferent␈αeffects␈αif␈αthat␈αdata␈αchanges␈αafter
␈↓ α?␈βλL␈↓βargument-scanning-binding␈α
time.
␈↓ ↓H␈βλh␈↓1␈↓∂?␈↓¬<NAME><OPEN><ACTUAL ARGS><CLOSE><OPEN><A.A.><CLOSE>...␈↓∂;
␈↓ α?␈β	λ␈↓β(U␈α
J␈α
CR␈α
o␈α
A)␈α
--␈α
Conditionally␈α
call␈α
a␈α
macro␈α
with␈α
arguments.␈αAt␈αthe␈αbeginning␈αof␈αthe
␈↓ α?␈β	$␈↓βscan,␈αjust␈αafter␈αthe␈α"␈↓1␈↓∂?␈↓β"␈αhas␈αbeen␈αseen,␈αa␈αflag␈αis␈αset␈αaccording␈αto␈αwhether␈αthe␈αac␈α
␈↓&is␈↓)αβ
␈↓ α?␈β	B␈↓βpositive␈α∞or␈α∞not.␈α∞Then␈α
all␈α
argument␈α
scanning␈α
etc.␈α
is␈α
performed␈α
just␈α
like␈α
in␈α
the␈α
"␈↓1␈↓∂!␈↓β"
␈↓ α?␈β	b␈↓βcommand␈α∩(indeed,␈α∩the␈α∩same␈α∩piece␈α∩of␈α∩code␈α∩is␈α∩executed␈α∩in␈α∩POX).␈α∩When␈α∩the␈α⊃final
␈↓ α?␈β
␈↓βsemicolon␈α∞is␈α∞seen,␈α∞the␈α∞flag␈α∞is␈α∞tested␈α∞to␈α∞determine␈α
whether␈α
the␈α
input-stream␈α
patch
␈↓ α?␈β
≡␈↓βwill␈α∩be␈α∩done␈α∩(if␈α∩the␈α∩ac␈α∩␈↓&was␈↓)αβ␈α∩positive)␈α∩or␈α∩the␈α∩patch␈α∩not␈α∩done␈α∩and␈α⊃the␈α⊃table␈α⊃of
␈↓ α?␈β
<␈↓βarguments␈α
flushed␈α
(if␈α
the␈α
ac␈α
␈↓&was␈↓)αβ␈α
zero␈α
or␈α
negative).
␈↓ β>␈β
x␈↓βDETAILED DESCRIPTION OF ALGORITHM FOR PROCESSING MACROS
␈↓ α_␈β∀␈↓β(1)␈αIf␈αthe␈αcommand␈αwas␈↓␈α1␈↓∂?␈↓β␈αthen␈αthe␈αsplice-enabling␈αflag␈αis␈αset␈αaccording␈αto␈αthe␈αcontents␈αof␈αthe
␈↓ ↓H␈β2␈↓βac,␈αbut␈αif␈αthe␈αcommand␈αis␈↓␈α
1␈↓∂!␈↓β␈α
then␈α
the␈α
flag␈α
is␈α
set␈α
to␈α
TRUE␈α
regardless.␈α
Text␈α
is␈α
scanned␈α
until␈α
a␈α
delimiter␈α
is
␈↓ ↓H␈βR␈↓βseen,␈αand␈αthe␈↓¬␈α<NAME>␈↓β␈αthus␈αscaned␈αis␈α
looked␈α
up␈α
in␈α
the␈α
table␈α
of␈α
existing␈α
macros.␈α
The␈α
body␈α
of␈α
the␈α
macro␈α
is
␈↓ ↓H␈βp␈↓βsaved␈α∂to␈α∂be␈α∂used␈α∂later,␈α∂and␈α∂an␈α∂empty␈α∂list␈α∂of␈α∂arguments␈α∂is␈α∂set␈α∂up.␈α∂The␈α∂delimiter␈α∂at␈α∞the␈α∞end␈α∞of␈α∞the
␈↓ ↓H␈β∞␈↓¬<NAME>␈↓β,␈α
which␈α
should␈α
be␈α
either␈α
a␈α
semicolon␈α
or␈α
an␈α
open-nesting␈α
or␈α
quoting␈α
character,␈α
is␈α
now␈α
tested:
␈↓ α_␈β,␈↓β(2)␈α∞If␈α∞that␈α∞character␈α∞was␈α∞a␈α
semicolon,␈α
then␈α
go␈α
to␈α
(5);␈α
If␈α
it␈α
was␈α
a␈α
legal␈α
open-nesting␈α
or␈α
quoting
␈↓ ↓H␈βJ␈↓βcharacter,␈αthen␈αlook␈α
up␈α
the␈α
corresponding␈α
close-nesting␈α
or␈α
quoting␈α
character␈α
in␈α
the␈α
nesting␈α
table␈α
inside
␈↓ ↓H␈βh␈↓βPOX␈αand␈αsave␈αit␈αfor␈αlater␈αreference,␈αthen␈αset␈αnesting␈αdepth␈αto␈αzero␈αand␈αenter␈αa␈αscanner␈αin␈α
which␈α
input
␈↓ ↓H␈β
ε␈↓βcontinues␈αto␈αbe␈αread␈αand␈αbrick␈αcommands␈αcontinue␈αto␈αbe␈αexecuted␈α
as␈α
they␈α
occur,␈α
but␈α
output␈α
is␈α
fed␈α
into
␈↓ ↓H␈β
$␈↓βan␈α∪argument-body␈α∪that␈α∪is␈α∪being␈α∪constructed.␈α∩Paragraph␈α∩(3)␈α∩describes␈α∩this␈α∩scanning␈α∩process,␈α∩and
␈↓ ↓H␈β
B␈↓βparagraph␈α
(4)␈α
describes␈α
what␈α
happens␈α
when␈α
brick␈α
commands␈α
are␈α
seen␈α
during␈α
the␈α
scanning.
␈↓ α_␈β
`␈↓β(3)␈α
Read␈α
a␈α
character.
␈↓ α_␈β
}␈↓βIf␈αit␈αis␈αthe␈αclose-nesting␈αor␈αquoting␈αcharacter␈αthen␈αwe␈αdecrement␈αnesting␈αdepth,␈αthen␈αdepending
␈↓ ↓H␈β∞≤␈↓βon␈α
its␈α
resultant␈α
value␈α
do␈α
the␈α
following:␈α
DEPTH<0,␈α
close␈α
off␈α
this␈α
argument-body,␈α
put␈α
it␈α
in␈α
the␈α
table␈α
of
␈↓ ↓H␈β∞:␈↓βarguments,␈α∞read␈α
one␈α
more␈α
character,␈α
and␈α
go␈α
to␈α
(2)␈α
[THIS␈α
IS␈α
THE␈α
ONLY␈α
EXIT␈α
FROM␈α
THIS␈α
(3)␈α
SCANNING
␈↓ ↓H␈β∞X␈↓βLOOP];␈α⊃DEPTH=0,␈α⊃do␈α⊃nothing,␈α⊃continue␈α⊃(3)␈α⊃scanning;␈α⊃DEPTH>0,␈α⊃emit␈α⊃the␈α⊃character␈α⊃(close-nesting␈α⊃or
␈↓ ↓H␈β∞v␈↓βquoting)␈α
into␈α
the␈α
argument-body␈α
and␈α
continue␈α
(3)␈α
scanning.
␈↓ α_␈β∂∀␈↓βElse␈α∂if␈α∂it␈α∂is␈α∂the␈α∂open-nesting␈α∂character␈α∂then␈α∂(assuming␈α∂VERRHT␈α∂is␈α∂enabled)␈α∂increment␈α∞nesting
␈↓ ↓H␈β∂2␈↓βdepth,␈α⊂then␈α⊂depending␈α⊂on␈α⊂the␈α⊂result␈α⊂do␈α⊂the␈α⊂following:␈α⊂DEPTH=1,␈α⊂do␈α⊂nothing,␈α∂continue␈α∂(3)␈α∂scanning;
␈↓ 
c␈↓α 15␈↓ α≥␈β⊂ ␈↓αPOX writeup,  edited 1975 DEC 05  07:52 PST,  compiled 1976 SEP 27  20:38 -- page 
␈↓ 
c␈↓α 16␈↓ α≥␈β↓α␈↓αPOX writeup,  edited 1975 DEC 05  07:52 PST,  compiled 1976 SEP 27  20:38 -- page 
␈↓ ↓H␈β↓H␈↓βDEPTH>1,␈α
emit␈α
the␈α
character␈α
(open-nesting)␈α
into␈α
the␈α
argument-body,␈α
continue␈α
(3)␈α
scanning.
␈↓ α_␈β↓d␈↓βElse␈αif␈αDEPTH>0␈αthen␈αemit␈αthe␈αcharacter␈αinto␈αthe␈αargument-body␈α
(thus␈↓␈α
1␈↓β␈α
and␈↓¬␈α
<COMMA>␈↓β␈α
are␈α
quoted
␈↓ ↓H␈βα∧␈↓βrather␈α
than␈α
being␈α
acted-upon␈α
as␈α
below)␈α
and␈α
continue␈α
(3)␈α
scanning.
␈↓ α_␈βα"␈↓βElse␈αif␈αthe␈αcharacter␈αis␈αa␈αcomma␈αthen␈αdo␈αthe␈αfollowing:␈αIf␈αVE1LES␈αis␈αon␈αthen␈αemit␈αthe␈αcomma␈αinto
␈↓ ↓H␈βα@␈↓βthe␈α
argument-body␈αand␈αcontinue␈α(3)␈αscaning;␈αelse␈αclose␈αoff␈αthe␈αargument-body␈αand␈αput␈αit␈αin␈αthe␈αtable
␈↓ ↓H␈βα↑␈↓βof␈α
arguments,␈α
then␈α
open␈α
a␈α
new␈α
argument-body␈α
and␈α
continue␈α
(3)␈α
scanning.
␈↓ α_␈βα|␈↓βElse␈α
if␈α
it␈α
is␈αthe␈αbrick␈αcharacter␈αthen␈αparse␈αthe␈αbrick-command␈αas␈αdescribed␈αin␈α(4),␈αand␈αcontinue
␈↓ ↓H␈ββ~␈↓β(3)␈α
scanning␈α
when␈α
done.
␈↓ α_␈ββ8␈↓β(4)␈α∀Brick-commands␈α∀are␈α∀parsed␈α∀in␈α∪the␈α∪usual␈α∪way,␈α∪except␈α∪that␈α∪certain␈α∪commands␈α∪(such␈α∪as
␈↓ ↓H␈ββV␈↓βfont-select)␈αare␈αnot␈αimplemented␈αbecause␈αthey␈αemit␈αrubouts␈αwhich␈αare␈αnot␈αpermitted␈α
in␈α
arguments,␈α
and
␈↓ ↓H␈ββt␈↓βa␈α∩few␈α∩other␈α∩commands␈α∩that␈α∩do␈α∩strange␈α∩things␈α∩are␈α∩also␈α⊃not␈α⊃implemented.␈α⊃When␈α⊃considering␈α⊃brick
␈↓ ↓H␈β∧∩␈↓βcommands␈α⊂that␈α⊂generate␈α⊂text,␈α⊂it␈α⊂is␈α⊂important␈α⊂to␈α⊂distinguish␈α⊂between␈α⊂those␈α∂commands␈α∂which␈α∂emit␈α∂a
␈↓ ↓H␈β∧.␈↓βcharacter␈α∞into␈α∞the␈α∞output␈α∞stream␈α∞(the␈α∞argument␈α∞body)␈α∞directly␈α∞(these␈α∞commands␈α∞are␈↓␈α
1␈↓∂"␈↓¬<CH>␈↓␈α
11␈↓β␈α
and
␈↓ ↓H␈β∧F␈↓1␈↓∂A␈↓εq␈↓β)␈αand␈αthose␈αwhich␈αsplice␈αtext␈αinto␈αthe␈αinput␈αstream␈α(these␈αcommands␈αare␈↓␈α1␈↓∂D␈↓εq␈↓␈α1␈↓∂!␈↓β...␈↓␈α1␈↓∂?␈↓β...␈↓␈α1␈↓∂@␈↓β...␈αand
␈↓ ↓H␈β∧j␈↓1␈↓∂α␈↓β...).␈αIn␈αthe␈αlatter␈αgroup␈αof␈αcommands,␈αthe␈αspliced␈αtext␈α
will␈α
be␈α
seen␈α
later␈α
by␈α
the␈α
(3)␈α
scanner,␈α
and␈α
if␈α
the
␈↓ ↓H␈β¬
␈↓βspliced␈α∞text␈α∞contains␈α∞any␈α
of␈α
the␈α
special␈α
characters␈α
mentionned␈α
in␈α
(3),␈α
then␈α
the␈α
corresponding␈α
special
␈↓ ↓H␈β¬(␈↓βeffect␈αwill␈αof␈αcourse␈αoccur.␈α(It␈αis␈αgenerally␈αa␈αgood␈αidea␈αto␈αavoid␈αthis␈αexcept␈αin␈αthose␈αcases␈αwhen␈αsuch
␈↓ ↓H␈β¬F␈↓βcomplicated␈α⊃things␈α⊃are␈α⊃actually␈α⊃needed␈α⊃to␈α⊃achieve␈α⊃a␈α⊃complicated␈α⊃effect,␈α⊃as␈α⊂shown␈α⊂in␈α⊂some␈α⊂of␈α⊂the
␈↓ ↓H␈β¬d␈↓βadvanced␈α
examples␈α
below.)
␈↓ α_␈βε␈↓βThe␈↓␈α⊂1␈↓∂!␈↓β␈α⊂and␈↓␈α∂1␈↓∂?␈↓β␈α∂commands␈α∂are␈α∂especially␈α∂interesting␈α∂when␈α∂they␈α∂not␈α∂only␈α∂are␈α∂executed␈α∂while
␈↓ ↓H␈βε ␈↓βscanning␈α≤an␈α≤argument␈α≤but␈α≤they␈α≤contain␈α≤arguments␈α≤themselves.␈α≤What␈α≤happens␈α≤is␈α≤that␈α≤all
␈↓ ↓H␈βε>␈↓βstatus-information␈αabout␈αthis␈αlevel␈αof␈αargument-scaning␈α(inside␈αthe␈αparsing␈αof␈αthe␈αmacro-call␈αcommand
␈↓ ↓H␈βε\␈↓βthat␈α
began␈α
earlier)␈α
is␈αsaved␈αon␈αthe␈αstack,␈αand␈αthis␈αpiece␈αof␈αcode␈αin␈αPOX␈α(i.e.␈α(1)␈αthru␈α(5)␈αas␈αdescribed
␈↓ ↓H␈βεz␈↓βhere)␈αis␈αentered␈αrecursively␈αto␈αparse␈αthe␈αnew␈αlevel␈αof␈αmacro-call␈αand␈αarguments␈αto␈αit.␈αThen␈αwhen␈αthat
␈↓ ↓H␈βπ_␈↓βlevel␈α
of␈α
this␈α
piece␈αof␈αcode␈αreturns,␈αafter␈αsplicing␈αthe␈αinput␈αstream,␈αthat␈αstatus-information␈αis␈αrestored
␈↓ ↓H␈βπ6␈↓βand␈α∂scanning␈α∂is␈α∂resumed␈α∞at␈α∞this␈α∞level␈α∞as␈α∞if␈α∞nothing␈α∞had␈α∞happened␈α∞(except,␈α∞of␈α∞course,␈α∞that␈α∞since␈α∞the
␈↓ ↓H␈βπT␈↓βinput␈α
stream␈αhas␈αbeen␈αspliced,␈αthe␈αoutput␈αfrom␈αthat␈αlower-level␈αof␈αmacro-expansion␈αwill␈αnow␈αbe␈αseen
␈↓ ↓H␈βπr␈↓βby␈α
the␈α
scanner␈α
at␈α
this␈α
level).
␈↓ α_␈βλ⊂␈↓βUsers␈αof␈αLISP␈α1.6␈αand␈αvariants␈αthereof␈αwill␈αnote,␈αin␈αthe␈αcase␈αwhere␈α
no␈α
parsing␈α
side-effects␈α
occur
␈↓ ↓H␈βλ.␈↓β(i.e.␈α∞when␈↓¬␈α∞<COMMA>␈α∞<OPEN>␈↓β␈α∞and␈↓¬␈α∞<CLOSE>␈↓β␈α∞are␈α∞not␈α∞included␈α∞in␈α∞the␈α∞spliced␈α∞text)␈α∞and␈α∞there␈α∞is␈α
exactly␈α
one
␈↓ ↓H␈βλL␈↓βmacro␈αcall␈αor␈αone␈αquoted␈αstring␈αof␈αtext␈αin␈αeach␈αargument,␈αthat␈αthe␈αfinal␈αresult␈αof␈αPOX␈αmacro␈αexpansion
␈↓ ↓H␈βλj␈↓βis␈α⊂exactly␈α⊂the␈α⊂same␈α⊂as␈α⊂the␈α∂corresponding␈α∂LISP␈α∂s-expression␈α∂EVALuation␈α∂in␈α∂which␈α∂every␈α∂function␈α∂is
␈↓ ↓H␈β	λ␈↓βeither␈α
an␈α
EXPR␈α
or␈α
a␈α
MACRO.␈α
For␈α
example,
␈↓ ∧O␈β	$␈↓1␈↓∂!FOO(␈↓1␈↓∂!BAZ(␈↓1␈↓∂!FB;);,␈↓1␈↓∂!GAR(FG););
␈↓ ↓H␈β	D␈↓βis␈α∪equivalent␈α∪to␈α∪the␈α∪s-expression␈↓∂␈α∪(FOO␈α∪(BAZ␈α∪(FB))␈α∪(GAR␈α∪(QUOTE␈α∪FG)))␈↓β.␈α∪In␈α∪POX␈α∪there␈α∪is␈α∪the
␈↓ ↓H␈β	b␈↓βadditional␈α∂facility␈α∂of␈α∂appending␈α∂together␈α∂the␈α∂strings␈α∂that␈α∂are␈α∂generated␈α∂by␈α∞multiple␈α∞macro-calls␈α∞and
␈↓ ↓H␈β
␈↓βquoted␈α
strings␈α
in␈α
a␈α
single␈α
argument,␈α
for␈α
example:
␈↓ ¬+␈β
≤␈↓1␈↓∂!FOO(BAZ␈↓1␈↓∂!GAR(FG););
␈↓ ↓H␈β
<␈↓βis␈α
roughly␈α
equivalent␈α
to␈↓∂␈α
(FOO␈α
(APPEND␈α
(QUOTE␈α
BAZ)␈α
(GAR␈α
(QUOTE␈α
FG))))␈↓β␈α
or␈α
something␈α
like␈α
that.
␈↓ α_␈β
Z␈↓β(5)␈α[The␈αonly␈αway␈αto␈αreach␈αthis␈αpiece␈αof␈αcode␈αis␈αto␈αjump␈αhere␈αfrom␈α(2)␈αafter␈αseeing␈αa␈αsemicolon
␈↓ ↓H␈β
x␈↓βthere.]␈αIf␈αthe␈αsplice-enabling␈αflag␈αwas␈αnot␈αset␈αabove,␈α
then␈α
all␈α
the␈α
arguments␈α
scanned␈α
in␈α
(3)␈α
etc.,␈α
and␈α
the
␈↓ ↓H␈β⊗␈↓βmacro␈αbody␈α
saved␈α
in␈α
(1),␈α
are␈α
now␈α
flushed␈α
(the␈α
only␈α
purpose␈α
of␈α
all␈α
this␈α
scanning␈α
was␈α
to␈α
make␈α
the␈α
syntax
␈↓ ↓H␈β4␈↓βcome␈αout␈αright␈αat␈αthis␈αlevel,␈αalthough␈αany␈αside-effects␈α(such␈αas␈αstoring␈αa␈αvalue␈αin␈α
a␈α
register␈α
or␈α
defining
␈↓ ↓H␈βR␈↓βa␈α∃macro␈α∃or␈α∃overlay)␈α∃during␈α∃scanning␈α∃arguments␈α∃will␈α∃of␈α∃course␈α∃remain␈α∃done);␈α∃If,␈α∃however,␈α∀the
␈↓ ↓H␈βp␈↓βsplice-enabling␈αflag␈α␈↓&was␈↓)αβ␈αset,␈αthen␈αthe␈αcurrent␈αinput␈αstream␈αis␈αnow␈αIOPUSHed␈αso␈αthat␈αit␈αcan␈αbe␈αresumed
␈↓ ↓H␈β∞␈↓βlater␈α∩when␈α∩the␈α⊃expanded␈α⊃macro␈α⊃we␈α⊃are␈α⊃generating␈α⊃has␈α⊃become␈α⊃exhausted,␈α⊃and␈α⊃the␈α⊃input␈α⊃is␈α⊃now
␈↓ ↓H␈β,␈↓βswitched␈αto␈αthe␈αmacro␈αbody␈αwe␈αlooked␈αup␈αand␈αset␈αaside␈αin␈α(1)␈αabove,␈αwith␈αthe␈αlist␈αof␈αargument-bodies
␈↓ ↓H␈βJ␈↓βstanding␈α
by␈α
to␈α
be␈αreferenced␈αwhenever␈αan␈↓¬␈α<ARGn>␈↓β␈αtoken␈αappears␈αin␈αthe␈αmacro␈αbody.␈αIn␈αany␈αcase,␈αthis
␈↓ ↓H␈βh␈↓βlong-winded␈α∞piece␈α∞of␈α∞code␈α∞for␈α∞scanning␈α∞macro-calls␈α∞now␈α∞returns␈α
control␈α
to␈α
whoever␈α
called␈α
it␈α
at␈α
this
␈↓ ↓H␈β
ε␈↓βlevel.␈α⊃(The␈α⊃equivalent␈α⊃thing␈α⊃in␈α⊃LISP␈α⊃1.6␈α⊃evaluation␈α⊃of␈α⊃s-expressions␈α⊃is␈α⊃that␈α⊃the␈α⊃call␈α⊂to␈α⊂an␈α⊂MACRO
␈↓ ↓H␈β
$␈↓βgenerates␈αan␈αexpression␈αwhich␈αis␈αthen␈αre-evaluated␈αby␈αthe␈αimplicit␈αEVAL␈αthat␈αcalled␈αit␈αwhile␈α
evaluating
␈↓ ↓H␈β
B␈↓βarguments␈αto␈αa␈αhigher␈αEXPR␈αor␈αMACRO␈α--␈αyou␈αmay␈αalso␈αcompare␈αPOX␈αmacros␈αto␈αEXPR's,␈αwhich␈α
produce
␈↓ ↓H␈β
`␈↓βthe␈αsame␈αeffect␈αas␈αMACROs,␈αalthough␈αby␈αa␈αdifferent␈αmechanism␈α--␈αof␈αcourse,␈αthis␈αparallel␈αbreaks␈αdown
␈↓ ↓H␈β
}␈↓βif␈α∀commas␈α∀or␈α∀unmatched␈α∀nesting␈α∀characters␈α∀are␈α∀returned,␈α∪in␈α∪which␈α∪case␈α∪rather␈α∪bizarre␈α∪parsing
␈↓ ↓H␈β∞≤␈↓βside-effects␈α
can␈α
occur␈α
in␈α
POX␈α
--␈α
in␈α
this␈α
respect,␈α
LISP␈α
is␈α
cleaner,␈α
the␈α
only␈α
way␈α
to␈αmake␈αsimilar␈αthings
␈↓ ↓H␈β∞:␈↓βhappen␈α⊂is␈α⊂to␈α⊂explicitly␈α⊂mung␈α⊂the␈α⊂stack.)␈α⊂See␈α⊂(6)␈α∂for␈α∂what␈α∂actually␈α∂happens␈α∂now␈α∂when␈α∂higher-level
␈↓ ↓H␈β∞X␈↓βroutines␈αattempt␈αto␈αinput␈αcharacters␈αfrom␈αthe␈αmacro-body␈αwith␈αargument-list␈αthat␈αnow␈αconstitutes␈αthe
␈↓ ↓H␈β∞v␈↓βinput␈α
stream.
␈↓ 
c␈↓α 16␈↓ α≥␈β⊂ ␈↓αPOX writeup,  edited 1975 DEC 05  07:52 PST,  compiled 1976 SEP 27  20:38 -- page 
␈↓ 
c␈↓α 17␈↓ α≥␈β↓α␈↓αPOX writeup,  edited 1975 DEC 05  07:52 PST,  compiled 1976 SEP 27  20:38 -- page 
␈↓ αH␈β↓H␈↓βDESCRIPTION OF ALGORITHM FOR READING TEXT FROM A COMPOSITE INPUT STREAM
␈↓ α_␈β↓f␈↓β(6)␈αWhen␈αany␈αroutine␈αrequests␈α
to␈α
input␈α
a␈α
character,␈α
the␈α
character␈α
comes␈α
from␈α
either␈α
an␈α
input␈α
file
␈↓ ↓H␈βα∧␈↓βor␈αa␈αmacro-body␈αor␈αan␈αargument-body␈α(which␈αis␈αtreated␈αexactly␈αlike␈αa␈αmacro-body␈αexcept␈αthat␈αthe␈αlist
␈↓ ↓H␈βα"␈↓βof␈αarguments␈αis␈αalways␈αnull␈αin␈αthis␈αcase,␈αi.e.␈αarguments␈αcannot␈αthemselves␈αhave␈αarguments).␈αWhen␈αany
␈↓ ↓H␈βα@␈↓βfile␈α
or␈α
macro-body␈α
is␈α
exhausted,␈α
an␈α
IOPOP␈α
occurs,␈α
so␈α
that␈α
input␈α
continues␈αfrom␈αthe␈αnext-higher␈αinput
␈↓ ↓H␈βα↑␈↓βstream␈α⊂that␈α∂was␈α∂suspended␈α∂earlier.␈α∂(When␈α∂the␈α∂top-level␈α∂file␈α∂is␈α∂exhausted,␈α∂an␈α∂END-OF-FILE␈α∂signal␈α∂is
␈↓ ↓H␈βα|␈↓βpassed␈α∞up␈α
and␈α
causes␈α
POX␈α
to␈α
close␈α
out␈α
processing␈α
and␈α
exit.)␈α
Finally,␈α
if␈α
a␈α
special␈α
token␈α
is␈α
seen␈α
while
␈↓ ↓H␈ββ~␈↓βreading␈αfrom␈αa␈αmacro-body,␈αthe␈αfollowing␈αactions␈α
are␈α
automatically␈α
taken:␈α
The␈↓¬␈α
<BRICK>␈↓β␈α
token␈α
is␈α
replaced
␈↓ ↓H␈ββ6␈↓βby␈αthe␈αcurrent␈↓␈α1␈↓β␈αcharacter;␈αThe␈↓¬␈α<ARGn>␈↓β␈αtoken␈α(if␈αthe␈αtable␈αof␈αarguments␈αcontains␈αat␈αleast␈αn␈αarguments)
␈↓ ↓H␈ββV␈↓βcauses␈α⊂an␈α⊂IOPUSH␈α⊂of␈α∂the␈α∂macro-body␈α∂(with␈α∂associated␈α∂table␈α∂of␈α∂arguments),␈α∂and␈α∂causes␈α∂input␈α∂to␈α∂be
␈↓ ↓H␈ββg␈↓βswitched␈α∞to␈α∞that␈α∞n␈↓#
th␈↓#␈α∞argument-body,␈α∞which␈α∞will␈α
now␈α
be␈α
used␈α
until␈α
it␈α
is␈α
exhausted,␈α
at␈α
which␈α
time␈α
the
␈↓ ↓H␈β∧∩␈↓βoriginal␈α
macro-body␈α
will␈α
resume.
␈↓ ∧U␈β∧I␈↓Examples of macros with arguments
␈↓ ↓H␈β∧l␈↓βHere's␈α
the␈↓∂␈α
sbp␈↓β␈α
macro␈α
definition␈α
referred-to␈α
earlier,␈α
and␈α
also␈α
used␈α
later␈αto␈αdemonstrate␈αthe␈αargument
␈↓ ↓H␈β¬
␈↓βbinding-evaluation␈α
process:
␈↓ αH␈β¬&␈↓1␈↓∂8sbp(main,sub,sup)[␈↓1␈↓∂F1␈↓1␈↓∂⊗⊗⊗main⊗␈↓1␈↓∂←.␈↓1␈↓∂→0␈↓1␈↓∂↑=15;␈↓1␈↓∂F2⊗sup⊗␈↓1␈↓∂←.␈↓1␈↓∂→1␈↓1␈↓∂N
␈↓ αH␈β¬D␈↓1␈↓∂←0␈↓1␈↓∂→.␈↓1␈↓∂↓=12;⊗sub⊗␈↓1␈↓∂←.␈↓1␈↓∂~1␈↓1␈↓∂→.␈↓1␈↓∂⊗⊗␈↓1␈↓∂F1]
␈↓ ↓H␈βεα␈↓βHere's␈α∂a␈α∞macro␈α∞that␈α∞combines␈α∞two␈α∞overlays␈α∞into␈α∞a␈α∞fraction␈α∞that␈α∞is␈α∞a␈α∞third␈α∞overlay,␈α∞and␈α∞which␈α∞works
␈↓ ↓H␈βε ␈↓βregardless␈α
of␈α
which␈α
overlay␈α
is␈α
wider:
␈↓ ↓H␈βε>␈↓∂\; *** GIVEN NUM,DEN, RESULT = FRACTION WITH NUM CENTERED OVER DEN AND BAR 3 BITS THICK
␈↓ ↓H␈βε\␈↓∂\8FRAC(NUM,DEN,RESULT)[\N warning -- registers N,D,B,x,X,y,Y clobbered below...
␈↓ ↓H␈βεz␈↓∂\1⊗NUM⊗;\→N\2⊗NUM⊗;\+N\→N\N compute total size of numerator
␈↓ ↓H␈βπ_␈↓∂\1⊗DEN⊗;\→D\2⊗DEN⊗;\+D\→D\N compute total size of denominator
␈↓ ↓H␈βπ6␈↓∂\←N\~D\→B\N                 compute biggest of two sizes
␈↓ ↓H␈βπT␈↓∂\←B\-N\/=2;\→x\1⊗NUM⊗;\+x\→x\N compute offset needed for numerator to be centered
␈↓ ↓H␈βπr␈↓∂\←B\-D\/=2;\→X\1⊗DEN⊗;\+X\→X\N compute offset needed for denominator to be centered
␈↓ ↓H␈βλ⊂␈↓∂\4⊗NUM⊗;\+=3;\¬=0;\→y\N compute vertical offset to put numerator above frac. bar
␈↓ ↓H␈βλ.␈↓∂\3⊗DEN⊗;\+=3;\→Y\N compute vertical offset to put denominator below fraction bar
␈↓ ↓H␈βλL␈↓∂\oBAR⊂V=0;=0;B=0;=3;⊃\N create a bar of the appropriate horizonal extant
␈↓ ↓H␈βλj␈↓∂\&⊗RESULT⊗←BAR,=0;=-1;&⊗NUM⊗,xy&⊗DEN⊗,XY;\N combine the three overlays into one
␈↓ ↓H␈β	λ␈↓∂]\; note that this macro should not be called if the above registers contain data
␈↓ ↓H␈β	&␈↓∂\; (it might be desirable to use the push and pop commands to save and restore
␈↓ ↓H␈β	D␈↓∂\; the above-mentionned registers, inside the macro body would be best)
␈↓ ↓H␈β	b␈↓∂\oFOO[1X\∩2\⊗-Y\∩2\⊗]\oBAZ[1X-Y]\!FRAC(FOO,BAZ,RES);\ORES;\; typical call to the macro
␈↓ ↓H␈β
␈↓∂\; Note that "\" must be the escape character at the time FRAC is called or else
␈↓ ↓H␈β
≡␈↓∂\; the "\"'s in the body will generate text rather than escape-to-command.
␈↓ ↓H␈β
<␈↓∂\; This can be remedied by changing each "\" in the body to "⊗\⊗" or by turning
␈↓ ↓H␈β
Z␈↓∂\; on the VERESC bit before defining FRAC.
␈↓ ∧)␈β⊃␈↓Detailed examples of argument evaluation
␈↓ α.␈β4␈↓∧(The macros called from here, and the fonts used here, are defined in 75224.LMD[1,REM].)
␈↓ ↓H␈βR␈↓∂\!sbp(X,i-1,n);␈↓ ∧H\;Nothing special here, matching nesting characters, commas
␈↓ ↓H␈βn␈↓∧X␈↓¬␈↓#si-1␈↓#
␈↓ ↓Xn␈↓#
␈↓ ↓H␈β>␈↓∂\!sbp(X)(i-1)(n);␈↓ ∧H\;One of several other ways to do the same thing
␈↓ ↓H␈βZ␈↓∧X␈↓¬␈↓#si-1␈↓#
␈↓ ↓Xn␈↓#
␈↓ α*␈β
)␈↓∧(You must do ␈↓1␈↓∂⊂'400;␈↓∧ or equivalent before the syntax of nesting (below) will be allowed.)
␈↓ ↓H␈β
I␈↓∂\!sbp(X,(\f9i)-1,(\f9n));␈↓ ¬H\;Inside multiple-nested, everything is quoted
␈↓ ↓H␈β
g␈↓∂\; Thus evaluation of \f9i doesn't occur while binding, but later
␈↓ ↓H␈β∞β␈↓∧X␈↓	␈↓#si␈↓¬␈↓#s-1␈↓	␈↓#
␈↓ ↓Xn␈↓#
␈↓ ↓H␈β∞@␈↓∂\; \!sbp(X,\f9i-1,\f9n); would not have worked, see POINT 7
␈↓ ↓H␈β∞|␈↓∂\!sbp(X,(i,j+1),n);␈↓ ∧H\;Even commas are quoted rather than breaking to next arg
␈↓ ↓H␈β∂_␈↓∧X␈↓¬␈↓#si,j+1␈↓#
␈↓ ↓Xn␈↓#
␈↓ 
c␈↓α 17␈↓ α≥␈β⊂ ␈↓αPOX writeup,  edited 1975 DEC 05  07:52 PST,  compiled 1976 SEP 27  20:38 -- page 
␈↓ α∨␈β↓α␈↓αPOX writeup,  edited 1975 DEC 05  07:52 PST,  compiled 1976 SEP 27  20:38 -- page 
␈↓ 
e␈β↓ε␈↓¬ 18
␈↓ ↓H␈β↓f␈↓∂\!sbp[X,i,(n)];␈↓ ∧H\;Nesting only applies to the particular nesting pair in use
␈↓ ↓H␈βαα␈↓∧X␈↓¬␈↓#si␈↓#
␈↓ ↓X(n)␈↓#
␈↓ ↓H␈βαR␈↓∂\!sbp(X,i,((n)));␈↓ ∧H\;Only the pair at comma-level are snarfed
␈↓ ↓H␈βαn␈↓∧X␈↓¬␈↓#si␈↓#
␈↓ ↓X(n)␈↓#
␈↓ ↓H␈ββ>␈↓∂\!sig;\!sbp(,i=1,n);␈↓ ∧H\;Null args are just as good as any others
␈↓ ↓H␈ββZ␈↓∞␈↓#sS␈↓¬␈↓#si=1␈↓#
␈↓ ↓ln␈↓#
␈↓ ↓H␈β∧5␈↓∂\!sbp(NESTING CHARACTERS:,⊗⊗//↓↓∂∂||""∧∧∨∨∪∪∩∩↑↑!!$%%)|() [] {} <> ≤≥ ⊂⊃ →←|;\;
␈↓ ↓H␈β∧S␈↓∂\;Sometimes you want to pick a nesting character you aren't using in the body
␈↓ ↓H␈β∧o␈↓∧NESTING CHARACTERS:␈↓¬␈↓#s⊗⊗//↓↓∂∂||""∧∧∨∨∪∪∩∩↑↑!!$$%%␈↓#
␈↓ βk() [] {} <> ≤≥ ⊂⊃ →←␈↓#
␈↓ ↓H␈β¬?␈↓∂\!sbp[X,f(i,j),n+2];␈↓ ∧H\;Avoid expressions like this, their implementation may change
␈↓ ↓H␈β¬[␈↓∧X␈↓¬␈↓#sf(i␈↓#
␈↓ ↓Xj)␈↓#
␈↓ ↓H␈βε+␈↓∂\; -- Define a bunch of month names as if they were elements of an array almost
␈↓ ↓H␈βεI␈↓∂\∞MONTH1⊂January⊃\∞MONTH2⊂February⊃\∞MONTH3⊂March⊃\;
␈↓ ↓H␈βεg␈↓∂\∞MONTH4⊂April⊃\∞MONTH5⊂May⊃\∞MONTH6⊂June⊃\;
␈↓ ↓H␈βπ¬␈↓∂\∞MONTH7⊂July⊃\∞MONTH8⊂August⊃\∞MONTH9⊂September⊃\;
␈↓ ↓H␈βπ#␈↓∂\∞MONTH10⊂October⊃\∞MONTH11⊂November⊃\∞MONTH12⊂December⊃\;
␈↓ ↓H␈βπ←␈↓∂\8MONTH(NSTR)[\!MONTH⊗NSTR⊗;]\; -- Generates the name of month, takes decimal string
␈↓ ↓H␈βλ≠␈↓∂\u'400101;\;␈↓ εHACTTIM UUO = CALLI 400101
␈↓ ↓H␈βλ9␈↓∂\L=-18;\/=31;\→D\%=12;\+=1;\→M\;␈↓ εHMonth number in register M now.
␈↓ ↓H␈βλW␈↓∂\!MONTH(\DM);\; ␈↓ ¬H(1) Scan and evaluate and bind argument, resulting
␈↓ ↓H␈βλu␈↓∂\;␈↓ ¬H  in effectively \!MONTH(4); if this is still April
␈↓ ↓H␈β	∪␈↓∂\;␈↓ ∧H(2) Call macro with argument list to generate a splice
␈↓ ↓H␈β	1␈↓∂\;␈↓ ∧H  in the input stream, which reads: \!MONTH4;
␈↓ ↓H␈β	O␈↓∂\;␈↓ βH(3) Continue reading characters from whatever the input stream is now,
␈↓ ↓H␈β	m␈↓∂\;␈↓ βH  namely the string \!MONTH4; followed by the rest of the input file.
␈↓ ↓H␈β
␈↓∂\;␈↓ αH(4) The \!MONTH4; now binds an empty list of args, calls the macro MONTH4,
␈↓ ↓H␈β
)␈↓∂\;␈↓ αH  and splices the string April into the input stream, which is then read
␈↓ ↓H␈β
G␈↓∂\;␈↓ αH  and output in the current mode (pass-as-is in this example).
␈↓ ↓H␈β
e␈↓∧September
␈↓ ↓H␈β!␈↓∧LISP␈α
programmers␈α
will␈α
note␈αthat␈αthis␈αis␈αquite␈αsimilar␈αto␈αthe␈αway␈αEXPRs␈αare␈αevaluated␈αin␈αLISP.␈αIn␈αfact,␈αthe
␈↓ ↓H␈β?␈↓∧following␈αmacro␈αdefinition␈αwill␈αcreate␈αa␈αmacro␈αthat␈αacts␈αlike␈αEVAL␈αin␈αLISP,␈αnamely␈αEVAL(expression)␈αcauses
␈↓ ↓H␈β]␈↓∧expression␈α
to␈α
get␈αevaluated␈αtwice,␈αonce␈αwhile␈αevaluating␈αand␈αbinding␈αarguments,␈αand␈αthen␈αagain␈αwhen␈αthe
␈↓ ↓H␈β{␈↓∧result␈α∂of␈α∂the␈α∂macro␈α∂expansion␈α∞is␈α∞seen␈α∞in␈α∞the␈α∞input␈α∞stream.␈α∞The␈α∞usefulness␈α∞of␈α∞this␈α∞is␈α∞that␈α∞you␈α∞can␈α∞patch
␈↓ ↓H␈β→␈↓∧together␈α∞various␈α∞strings,␈α∞some␈α∞quoted␈α∞(you␈α∞get␈α∞what␈α∞you␈α∞had␈α∞in␈α∞the␈α
input␈α
file)␈α
and␈α
some␈α
resulting␈α
from
␈↓ ↓H␈β6␈↓∧macro␈αcalls␈αor␈αcommands␈αlike␈↓␈α1D␈↓∧,␈αand␈αthen␈αthe␈αresultant␈αstring␈αgets␈αevaluated␈α
as␈α
if␈α
it␈α
had␈α
been␈α
in␈α
your␈α
input
␈↓ ↓H␈βV␈↓∧file␈α∞all␈α∞along.␈α∞For␈α∞example,␈α∞the␈α∞above␈α∞effect␈α∞of␈α∞MONTH(NSTR)␈α∞can␈α
be␈α
obtained␈α
by␈α
calling␈α
EVAL␈α
with␈α
the
␈↓ ↓H␈βt␈↓∧appropriately␈α
constructed␈α
argument.
␈↓ ↓H␈β
∩␈↓∂\8EVAL(expr)[⊗expr⊗]\;␈↓ εHAs described above
␈↓ ↓H␈β
0␈↓∂\!EVAL[[\!MONTH(]\DM);];\;␈↓ ¬H(1) The following is output to the argument body:
␈↓ ↓H␈β
N␈↓∂\;␈↓ ¬H  (a) The quoted string \!MONTH
␈↓ ↓H␈β
l␈↓∂\;␈↓ ¬H  (b) The decimal string value of register M
␈↓ ↓H␈β∞
␈↓∂\;␈↓ ¬H  (c) The close-parenthesis and semicolon
␈↓ ↓H␈β∞(␈↓∂\;␈↓ ∧H(2) The string spliced in is \!MONTH(4); if this is still april
␈↓ ↓H␈β∞F␈↓∂\!EVAL[\\!MONTH(\DM);];\; An older way that still works, quote the escape character by \\
␈↓ ↓H␈β∞d␈↓∂\; -- you see it below done both ways on the same line, no difference in effect --
␈↓ ↓H␈β∂α␈↓∧SeptemberSeptember
␈↓ α∨␈β⊂ ␈↓αPOX writeup,  edited 1975 DEC 05  07:52 PST,  compiled 1976 SEP 27  20:38 -- page 
␈↓ 
e␈β⊂$␈↓¬ 18
␈↓ 
c␈↓α 19␈↓ α≥␈β↓α␈↓αPOX writeup,  edited 1975 DEC 05  07:52 PST,  compiled 1976 SEP 27  20:38 -- page 
␈↓ ↓H␈β↓H␈↓∂\; Evaluate a macro and use the result as a brick command to evaluate:
␈↓ ↓H␈β↓f␈↓∂\!EVAL(\\\!FOO;);\; Like \\!FOO; parsed right-to-left sort-of
␈↓ ↓H␈βα"␈↓∂$8RECURSExFOO(N)[$F3(FOO)$←=⊗N⊗;$-=1;$?RECURSExFOO($D∀);]
␈↓ ↓H␈βα@␈↓∂$; the above macro explicitly calls itself with one less than its argument
␈↓ ↓H␈βα↑␈↓∂$!RECURSExFOO{15};$; {} are just as good as () in such places as here
␈↓ ↓H␈ββ8␈↓β(FOO)(FOO)(FOO)(FOO)(FOO)(FOO)(FOO)(FOO)(FOO)(FOO)(FOO)(FOO)(FOO)(FOO)(FOO)
␈↓ α_␈β∧∩␈↓βHere␈α∞is␈α∞a␈α∞macro␈α∞that␈α∞can␈α∞be␈α∞used␈α∞to␈α∞compile␈α∞page␈α∞numbers␈α∞into␈α∞a␈α
table␈α
of␈α
contents␈α
or␈α
index,
␈↓ ↓H␈β∧0␈↓βproviding␈α∪that␈α∪the␈α∪contents␈α∩or␈α∩index␈α∩appears␈α∩in␈α∩the␈α∩output␈α∩file␈α∩after␈α∩all␈α∩referenced␈α∩items␈α∩have
␈↓ ↓H␈β∧N␈↓βoccurred.␈α∪This␈α∪is␈α∪the␈α∪macro␈α∪used␈α∪in␈α∩the␈α∩POX␈α∩writeup␈α∩to␈α∩make␈α∩the␈α∩contents␈α∩and␈α∩appendix␈α∩page
␈↓ ↓H␈β∧l␈↓βreferences.
␈↓ αH␈β¬
␈↓∂$8DEFCONT(ITEM)[$!EVAL(($∞CX⊗ITEM⊗{)$←#$¬=10;$?SPACEXY;$D#(}));]$;
␈↓ α_␈β¬(␈↓βThe␈αthree␈αtypes␈αof␈αnesting␈αcharacters,␈↓∂␈α[]␈α()␈↓β␈αand␈α{},␈αare␈αused␈αto␈αisolate␈αnesting␈αprocessing␈αinto
␈↓ ↓H␈β¬F␈↓βthree␈αlevels␈αin␈αwhich␈αthe␈αother␈αnesting␈αcharcters␈αare␈αpassed␈αas␈αtext.␈αThis␈αmacro␈αassumes␈αthat␈αregister
␈↓ ↓H␈β¬d␈↓∂#␈↓β␈α∪always␈α∪contains␈α∩the␈α∩correct␈α∩page␈α∩number,␈α∩and␈α∩that␈α∩there␈α∩is␈α∩a␈α∩macro␈α∩called␈α∩"SPACEXY"␈α∩which
␈↓ ↓H␈βεα␈↓βgenerates␈αan␈αASCII␈α040␈α(space)␈αcharacter␈αto␈αbe␈αused␈αas␈αzero-fill␈αto␈αthe␈αleft␈αof␈αone-digit␈αnumbers,␈αand
␈↓ ↓H␈βε ␈↓βthat␈α∞page␈α∞numbers␈α∞above␈α∞99␈α∞do␈α∞not␈α∞occur.␈α∞Here's␈α
a␈α
detailed␈α
description␈α
of␈α
what␈α
happens␈α
when␈α
this
␈↓ ↓H␈βε>␈↓βmacro␈α
is␈α
used:
␈↓ α_␈βε\␈↓∂$8␈↓β...;␈αat␈αstart␈αof␈αthe␈αfile␈α--␈αA␈αmacro␈αwith␈αarguments␈αis␈αset␈αup,␈αwith␈αthe␈αname␈α"DEFCONT",␈αand␈αthe
␈↓ ↓H␈βεz␈↓βbody␈α<BRICK>␈α"!EVAL(("␈α<BRICK>␈α"∞CX"␈α<ARG␈α
1>␈α
{)"␈α
<BRICK>␈α
"←#"␈α
<BRICK>␈α
"¬=10;"␈α
<BRICK>␈α
"?SPACEXY;"
␈↓ ↓H␈βπ↔␈↓β<BRICK>␈α"D#(}));"␈αwhere␈α<BRICK>␈αdenotes␈αthe␈↓␈α1␈↓β␈αtoken␈α(stored␈αinternally␈αas␈α177,175),␈α<ARG␈α1>␈αdenotes
␈↓ ↓H␈βπ7␈↓βthe␈αargument-number-1␈αtoken␈α
(stored␈α
internally␈α
as␈α
177,001),␈α
and␈α
other␈α
parts␈α
are␈α
between␈α
quote␈α
marks
␈↓ ↓H␈βπU␈↓βhere␈αto␈αavoid␈αambiguity␈αas␈αyou␈αtry␈αto␈αread␈αthis.␈α(This␈αassumes␈αyou␈αhave␈αVERESC␈αturned␈αon.␈αOtherwise
␈↓ ↓H␈βπr␈↓βyou␈α∞just␈α∞get␈α∞the␈α∞dollar-sign␈α∞character␈α∞in␈α∞the␈α∞macro␈α∞body␈α∞instead␈α
of␈α
the␈↓␈α
1␈↓β␈α
token,␈α
and␈α
what␈α
happens
␈↓ ↓H␈βλ∩␈↓βlater␈α
in␈α
this␈α
example␈α
when␈α
"␈↓∂\␈↓β"␈α
is␈α
the␈α
brick␈α
character␈α
won't␈α
work.)
␈↓ α_␈βλ0␈↓β\DEFCONT(A3);␈αat␈αthe␈αlocation␈αin␈αthe␈αfile␈αdesired␈α("␈↓∂\␈↓β"␈αhappens␈αto␈αbe␈αthe␈αbrick␈α
character␈α
here)␈α
--
␈↓ ↓H␈βλN␈↓βThe␈α
body␈α
of␈α
the␈αDEFCONT␈αmacro␈αis␈αpatched␈αinto␈αthe␈αinput␈αstream,␈αand␈αin␈αthe␈αprocess␈αof␈αreading␈αit␈αin
␈↓ ↓H␈βλk␈↓βthe␈α
<BRICK>␈α
and␈α
<ARG␈α1>␈αare␈αreplaced␈αby␈α"␈↓1␈↓β"␈αand␈α"␈↓∂A3␈↓β"␈αrespectively,␈αresulting␈αin␈αthe␈αfollowing␈αstring
␈↓ ↓H␈β	␈↓βbeing␈α
effectively␈α
in␈α
the␈α
input␈α
stream:␈α
"␈↓∂\!EVAL((\∞CXA3{)\←#\¬=10;\?SPACEXY;\D#(}));␈↓β".
␈↓ α_␈β	)␈↓βThe␈α∞"EVAL"␈α∞macro␈α∞is␈α
then␈α
called,␈α
and␈α
in␈α
the␈α
process␈α
of␈α
binding␈α
its␈α
one␈α
argument␈α
the␈α
following
␈↓ ↓H␈β	G␈↓βhappens:␈α
(1)␈α
The␈α
string␈α
"␈↓∂\∞CXA3{␈↓β"␈α
is␈αpassed␈αas␈α(quoted)␈αtext;␈α(2)␈αRegister␈↓∂␈α#␈↓β␈αis␈αfetched␈αand␈αtested␈αto
␈↓ ↓H␈β	e␈↓βsee␈α_if␈α_it␈α_is␈α↔less␈α↔than␈α↔ten,␈α↔if␈α↔so␈α↔the␈α↔SPACEXY␈α↔macro␈α↔generates␈α↔a␈α↔space␈α↔character␈α↔(in␈α↔the
␈↓ ↓H␈β
β␈↓βargument-to-EVAL␈α∞being␈α∞constructed);␈α∞(3)␈α
Register␈↓∂␈α
#␈↓β␈α
is␈α
fetched␈α
again␈α
,␈α
converted␈α
into␈α
decimal␈α
string,
␈↓ ↓H␈β
!␈↓βand␈αappended␈αto␈αthe␈αargument;␈α(4)␈αThe␈αstring␈α"␈↓∂}␈↓β"␈α(one␈αcharacter)␈α
is␈α
passed␈α
(quoted);␈α
(5)␈α
The␈α
input␈α
text
␈↓ ↓H␈β
?␈↓β"␈↓∂);␈↓β"␈α
terminates␈α
the␈αbinding␈αof␈αthe␈αfirst␈αargument,␈αand␈αterminates␈αall␈αbinding␈αfor␈αthe␈αcall␈αof␈αEVAL,␈αand
␈↓ ↓H␈β
]␈↓βthe␈α
body␈α
of␈α
EVAL,␈α
which␈α
consists␈α
solely␈α
of␈α
the␈α
<ARG␈α
1>␈α
token,␈α
is␈α
patched␈α
into␈α
the␈α
input␈α
stream.
␈↓ α_␈β
{␈↓βThus␈αif␈αthis␈αis␈αdone␈αon␈αpage␈α5,␈αthe␈αstring␈α"␈↓∂\∞CXA3{␈α5}␈↓β"␈α(the␈αargument)␈αis␈αnow␈αeffectively␈αin␈αthe
␈↓ ↓H␈β→␈↓βinput␈α
stream.␈α
Upon␈α
reading␈α
all␈α
that␈α
(generated)␈α
input,␈α
the␈α
macro␈α
"CXA3"␈α
is␈α
defined,␈α
with␈α
body␈α
"␈↓∂␈α
5␈↓β".
␈↓ α_␈β6␈↓βLater,␈αfor␈αexample␈αin␈α
the␈α
table␈α
of␈α
contents␈α
page,␈α
the␈α
string␈↓␈α
1␈↓∂!CXA3;␈↓β␈α
--␈α
will␈α
generate␈α
the␈α
correct
␈↓ ↓H␈βV␈↓βpage␈α
reference␈α
for␈α
item␈α
A3␈α
in␈α
the␈α
document,␈α
namely␈α
the␈α
string␈α
"␈↓∂␈α
5␈↓β"␈α
in␈α
this␈α
case.
␈↓ α␈β∩␈↓βHere is the setup for the EVERYPAGE macro that was used in this writeup (\ is escape char.):
␈↓ ↓H␈β/␈↓∂\!ACTTIM;\; load a register with system date-time by means of the ␈↓1␈↓∂u command
␈↓ ↓H␈βO␈↓∂\!EVAL((\∞TODAY[)\!DATIME;(]));\;
␈↓ ↓H␈βm␈↓∂\; call DATIME (in DATIME.POX[1,REM]) and hardwire the result into the TODAY macro
␈↓ ↓H␈β
␈↓∂\∞IDENT[POX writeup -- compiled by POX on ]\;
␈↓ ↓H␈β
)␈↓∂\oEP1[2\!IDENT;\!TODAY; -- page ]\; hardwire all but the page number into an overlay
␈↓ βk␈β
G␈↓βand here is the actual macro definition ($ is escape char.):
␈↓ ↓H␈β
e␈↓∂$8EVERYPAGE(dummyarg)[$←#$+=1;$→#$oEP2{2 $D#}$&EP←EP1&EP2;$N
␈↓ ↓H␈β∞β␈↓∂$QA$1EP;$→A$2EP;$¬A$/=2;$+=850;$→A$N
␈↓ ↓H␈β∞!␈↓∂$WEP,A=150;$WEP,A=2100;$qA]$; generate page number, combine overlays, align
␈↓ α_␈β∞]␈↓βNote␈αthat␈αsome␈αtricky␈αthings␈αwere␈αdone␈α
in␈α
creating␈α
the␈α
everypage␈α
macro␈α
so␈α
that␈α
the␈α
time-of-day
␈↓ ↓H␈β∞{␈↓βwouldn't␈αbe␈αrecompiled␈αon␈αeverypage␈α(otherwise␈αif␈αthe␈αsystem␈αwere␈αvery␈αbusy,␈αeach␈αpage␈αmight␈αhave
␈↓ ↓H␈β∂→␈↓βa␈α∩different␈α∩time-of-compilation.␈α∩In␈α∩general,␈α∩in␈α∩POX␈α∩the␈α∩order␈α∩of␈α∩evaluation␈α∩of␈α∩arguments␈α∩may␈α∩be
␈↓ ↓H␈β∂7␈↓βcontrolled␈α∩by␈α∩means␈α∩of␈α∩calls␈α∩to␈α∩EVAL␈α∩(to␈α∩cause␈α∩an␈α∩extra␈α∩evaluation␈α⊃to␈α⊃occur)␈α⊃and␈α⊃using␈α⊃nesting
␈↓ 
c␈↓α 19␈↓ α≥␈β⊂ ␈↓αPOX writeup,  edited 1975 DEC 05  07:52 PST,  compiled 1976 SEP 27  20:38 -- page 
␈↓ 
c␈↓α 20␈↓ α≥␈β↓α␈↓αPOX writeup,  edited 1975 DEC 05  07:52 PST,  compiled 1976 SEP 27  20:38 -- page 
␈↓ ↓H␈β↓H␈↓βcharacters␈α⊃to␈α⊂quote␈α⊂portions␈α⊂of␈α⊂arguments␈α⊂(to␈α⊂suppress␈α⊂or␈α⊂postpone␈α⊂an␈α⊂evaluation).␈α⊂The␈α⊂following
␈↓ ↓H␈β↓f␈↓βexample␈α
should␈α
show␈α
you␈α
some␈α
of␈α
the␈α
options␈α
you␈α
can␈α
create␈α
by␈α
use␈α
of␈α
this␈α
technique.
␈↓ α_␈βα∧␈↓βSuppose␈αthat␈αMONTHNUMBER␈αis␈αa␈αmacro␈αthat␈αasks␈αthe␈αsystem␈α
for␈α
the␈α
date␈α
and␈α
time,␈α
and␈α
decodes
␈↓ ↓H␈βα"␈↓βthe␈αnumber␈αof␈αmonth␈α(0␈αto␈α11␈αdecimal)␈α
leaving␈α
it␈α
in␈α
register␈α
M.␈α
Suppose␈α
that␈α
MONTH1␈α
is␈α
a␈α
macro␈α
that␈α
is
␈↓ ↓H␈βα@␈↓βthe␈αASCII␈αname␈αof␈αthe␈αfirst␈αmonth␈α(January)␈αetc.␈αup␈αto␈αMONTH12␈α=␈αDecember.␈αSuppose␈αthat␈αMONTHN(n)
␈↓ ↓H␈βα↑␈↓βis␈αa␈αmacro␈αwith␈αone␈αargument␈αthat␈αconcatinates␈αthe␈αstring␈α"␈↓∂$!MONTH␈↓β"␈α
with␈α
its␈α
argument␈α
(assumed␈α
to␈α
be
␈↓ ↓H␈βα|␈↓βa␈α∪decimal␈α∪number␈α∪string)␈α∪and␈α∪with␈α∪a␈α∪semicolon,␈α∪so␈α∪that␈α∪for␈α∪example␈α∪"␈↓∂$!MONTHN(3)␈↓β;"␈α∪will␈α∩patch
␈↓ ↓H␈ββ~␈↓β"␈↓∂$!MONTH3;␈↓β"␈αinto␈αthe␈αinput␈α
stream␈α
which␈α
will␈α
then␈α
generate␈α
"␈↓∂March␈↓β".␈α
The␈α
following␈α
commands␈α
will␈α
then
␈↓ ↓H␈ββ8␈↓βgenerate␈α
the␈α
correct␈α
result,␈α
assuming␈α
this␈α
month␈α
is␈α
neither␈α
January␈α
nor␈α
December:
␈↓ ↓H␈ββV␈↓∂$!MONTHNUMBER;$;
␈↓ ↓H␈ββt␈↓∂This month is $!MONTHN($DM); and next month is $!MONTHN($←M$+=1;$D∀);.
␈↓ ↓H␈β∧∩␈↓∂Last month was $!MONTHN($←M$-=1;$D∀);.
␈↓ α_␈β∧0␈↓βNote␈α∞that␈α
if␈α
the␈α
contents␈α
of␈α
register␈α
M␈α
are␈α
changed,␈α
the␈α
result␈α
of␈α
calling␈α
MONTH($DM)␈α
changes
␈↓ ↓H␈β∧N␈↓βaccordingly,␈α
and␈α
if␈α
any␈α
of␈α
the␈α
MONTH1␈α
MONTH2␈α
...␈αMONTH12␈αmacros␈αare␈αchanged␈α(such␈αas␈αto␈αa␈αset␈αof
␈↓ ↓H␈β∧l␈↓βabbreviations␈αfor␈αthe␈αmonths)␈αthen␈αthe␈α
result␈α
of␈α
calling␈α
MONTHN␈α
will␈α
change␈α
in␈α
the␈α
particular␈α
cases␈α
that
␈↓ ↓H␈β¬
␈↓βwere␈α∪changed.␈α∩That␈α∩is␈α∩because␈α∩register␈α∩M␈α∩is␈α∩referenced␈α∩and␈α∩macros␈α∩MONTHN($DM)␈α∩and␈α∩MONTH6
␈↓ ↓H␈β¬(␈↓β(assuming␈αthis␈αis␈αstill␈αJune)␈αare␈αcalled␈αevery␈αtime␈↓∂␈α$!MONTH($DM);␈↓β␈αappears␈αin␈αthe␈αinput␈αstream.␈αThus␈αif
␈↓ ↓H␈β¬F␈↓βTHISMONTH␈α⊂is␈α⊂defined␈α⊂as␈α⊂the␈α⊂successive␈α∂calling␈α∂of␈α∂MONTHNUMBER␈α∂and␈α∂MONTH($DM)␈α∂then␈α∂everytime
␈↓ ↓H␈β¬d␈↓βTHISMONTH␈α∂is␈α∂called␈α∂register␈α∂M␈α∞will␈α∞be␈α∞clobbered␈α∞and␈α∞MONTHN($DM)␈α∞and␈α∞MONTH6␈α∞will␈α∞be␈α∞called.␈α∞By
␈↓ ↓H␈βεα␈↓βappropriate␈α∂control␈α∂of␈α∂evaluation,␈α∂it␈α∂is␈α∂possible␈α∂to␈α∂call␈α∂some␈α∂of␈α∂those␈α∂things␈α∂once␈α∂at␈α∂the␈α∂beginning
␈↓ ↓H␈βε ␈↓β(when␈α
THISMONTH␈α
is␈α
defined)␈α
and␈α
hardwire␈α
their␈α
results␈α
into␈α
the␈α
definition␈α
of␈α
THISMONTH:
␈↓ ↓H␈βε>␈↓∂$!EVAL(($∞THISMONTH[)$!MONTHNUMBER;$!MONTHN($DM);(]))$;
␈↓ ↓H␈βε\␈↓∂$; "$∞THISMONTH[" is quoted, "$!MONTHNUMBER;" and "$!MONTH;" are called
␈↓ ↓H␈βεz␈↓∂$; resulting in the string "June" if it is still June, "]" is quoted, and
␈↓ ↓H␈βπ_␈↓∂$; all these parts are concatinated into one string which is passed to
␈↓ ↓H␈βπ6␈↓∂$; EVAL as its argument "$∞THISMONTH[June]" which is then patched into
␈↓ ↓H␈βπT␈↓∂$; the input stream, causing THISMONTH to be permanently defined as "June".
␈↓ ↓H␈βλ⊂␈↓∂$!EVAL(($∞THISMONTH[)$!MONTHNUMBER;($!MONTHN{)$DM(};]))$;
␈↓ ↓H␈βλ.␈↓∂$; "$∞THISMONTH[" is quoted, "$!MONTHNUMBER;" is called resulting in register
␈↓ ↓H␈βλL␈↓∂$; M getting defined now, "$!MONTHN{" is quoted, the decimal conversion of
␈↓ ↓H␈βλj␈↓∂$; the contents of M we have just computed earlier come next, then "};]"
␈↓ ↓H␈β	λ␈↓∂$; is quoted, and all the above is concatinated into
␈↓ ↓H␈β	&␈↓∂$; "$∞THISMONTH[$!MONTHN{6};]" which causes THISMONTH to be defined so as
␈↓ ↓H␈β	D␈↓∂$; to call MONTHN(6) every time.  Thus register M is freed for other use
␈↓ ↓H␈β	b␈↓∂$; without affecting THISMONTH but redefinition of MONTH6 will cause
␈↓ ↓H␈β
␈↓∂$; THISMONTH to change accordingly.
␈↓ ∧|␈β
:␈↓ENABLING SPECIAL FEATURES
␈↓ α_␈β
]␈↓βIn␈αthe␈αfollowing␈αthree␈αcommands,␈αthe␈αleft␈αhalf␈αof␈↓ε␈αq␈↓β,␈αspecifies␈αa␈αbatch␈αof␈αfeatures,␈αand␈αthe␈αbits␈αin
␈↓ ↓H␈β¬␈↓βthe␈α
right␈α
half␈α
specify␈α
which␈α
features␈α
in␈α
that␈α
batch␈α
are␈α
affected␈α
(or␈α
in␈α
the␈α
case␈αof␈αthe␈αfirst␈αcommand,
␈↓ ↓H␈β#␈↓βwhich␈α∞are␈α∞on,␈α∞since␈α∞all␈α∞are␈α∞affected␈α∞one␈α∞way␈α∞or␈α
the␈α
other␈α
in␈α
this␈α
obsolete␈α
command).␈α
Thus␈α
you␈α
may
␈↓ ↓H␈βA␈↓βchange␈αas␈αmany␈αfeatures␈αin␈αone␈αbatch␈αat␈αa␈αtime,␈αbut␈αmust␈αuse␈αseparate␈αcommands␈αfor␈αeach␈αbatch.␈αThe
␈↓ ↓H␈β←␈↓βcommands␈αare␈αgiven␈αfirst,␈αthen␈αthe␈α
descriptions␈α
of␈α
each␈α
feature,␈α
with␈α
the␈α
batch␈α
number␈α
and␈α
bit␈α
position
␈↓ ↓H␈β⎇␈↓β(mask)␈α∞that␈α∞correspond␈α
to␈α
it.␈α
All␈α
bits␈α
are␈α
initially␈α
zero,␈α
and␈α
bits␈α
not␈α
mentionned␈α
below␈α
should␈α
be␈α
left
␈↓ ↓H␈β≠␈↓βthat␈α
way␈α
to␈α
allow␈α
for␈α
new␈α
bits␈α
that␈α
will␈α
be␈α
defined␈α
later.
␈↓ ↓H␈β8␈↓1␈↓∂`␈↓εq␈↓β␈↓ ββ(U)␈α--␈αSet␈αspecial␈αfeatures␈αhalfword␈αfrom␈αright␈αhalf␈αof␈↓ε␈α
q␈↓β␈α
--␈α
This␈α
command
␈↓ ββ␈β`␈↓βis␈α∞not␈α∞reccommended␈α∞because␈α∞it␈α
clobbers␈α
bits␈α
you␈α
may␈α
have␈α
set␈α
earlier
␈↓ ββ␈β}␈↓βand␈α
forgotten.
␈↓ ↓H␈β
≠␈↓1␈↓∂⊂␈↓εq␈↓β␈↓ ββ(U)␈α--␈αUse␈αright␈αhalf␈αof␈↓ε␈αq␈↓β.␈αas␈αa␈αmask␈αfor␈αturning␈αon␈αbits,␈αleaving␈αthe␈αrest
␈↓ ββ␈β
C␈↓βunaffected.
␈↓ ↓H␈β
`␈↓1␈↓∂⊃␈↓εq␈↓β␈↓ ββ(U)␈α
--␈α
Use␈α
right␈α
half␈α
of␈↓ε␈α
q␈↓β.␈α
as␈α
a␈α
mask␈α
for␈α
turning␈α
off␈α
bits␈α
(a␈α
"1"␈α
in␈α
the␈α
mask
␈↓ ββ␈β∞λ␈↓βturns␈α∂the␈α∂bit␈α∂off,␈α∂the␈α∂same␈α∞as␈α∞the␈α∞ANDCM␈α∞instruction),␈α∞leaving␈α∞the␈α∞rest
␈↓ ββ␈β∞&␈↓βunaffected.
␈↓ ↓H␈β∞D␈↓βBefore␈α⊃you␈α⊃use␈α⊃any␈α⊃of␈α⊃the␈α⊃above␈α⊃commands␈α⊃to␈α⊃change␈α⊃these␈α⊃flags,␈α⊃all␈α⊃the␈α⊃bits␈α⊂listed␈α⊂below␈α⊂are
␈↓ ↓H␈β∞b␈↓βnot-enabled␈α(zero␈αbit).␈αGenerally␈αit␈αis␈αadvisable␈αto␈αturn␈αthese␈αbits␈αon␈αat␈αthe␈αbeginning␈αand␈αleave␈αthem
␈↓ ↓H␈β∂␈↓βon,␈αhowever␈αit␈αis␈αfrequently␈αuseful␈αto␈αtoggle␈αthem␈αon␈αand␈αoff.␈αIf␈αfunny␈αthings␈α
can␈α
happen␈α
with␈α
toggling,
␈↓ ↓H␈β∂≡␈↓βI␈α
will␈α
try␈α
to␈α
warn␈α
you␈α
in␈α
the␈α
description␈α
below␈α
--␈α
please␈α
excuse␈αthe␈αsloppy␈α(unjustified)␈αappearance,
␈↓ 
c␈↓α 20␈↓ α≥␈β⊂ ␈↓αPOX writeup,  edited 1975 DEC 05  07:52 PST,  compiled 1976 SEP 27  20:38 -- page 
␈↓ 
c␈↓α 21␈↓ α≥␈β↓α␈↓αPOX writeup,  edited 1975 DEC 05  07:52 PST,  compiled 1976 SEP 27  20:38 -- page 
␈↓ ↓H␈β↓H␈↓βthe␈α
text␈α
was␈α
copied␈α
from␈α
the␈α
source␈α
program␈α
for␈α
POX␈α
with␈α
very␈α
little␈α
editing.␈αalso,␈αthe␈α"$"␈αcharacter
␈↓ ↓H␈β↓e␈↓βrather␈α
than␈α
"␈↓1␈↓β"␈α
represents␈α
the␈α
brick␈α
character␈α
below.
␈↓ α_␈βα¬␈↓βI␈α∞reccommend␈α∞that␈α∞all␈α∞newly-created␈α∞POX␈α∞files␈α∞turn␈α∞on␈α∞VERSMT,␈α
VERXX1␈α
and␈α
VE1QES␈α
near␈α
the
␈↓ ↓H␈βα#␈↓βstart␈αof␈αthe␈αfile.␈αAlso␈αdesirable␈αmost␈αof␈α
the␈α
time␈α
are␈α
VERSIM,␈α
VERREM,␈α
VERRHT,␈α
VERESC␈α
and␈α
VE1OPN.␈α
All
␈↓ ↓H␈βα@␈↓βof␈αthese␈αcan␈αbe␈αturned␈αon␈αby:␈↓␈α1␈↓∂⊂'0302444;␈↓1␈↓∂⊂'1000003;␈↓β␈αat␈αthe␈αvery␈αbeginning␈αof␈αyour␈αsource␈α
file.␈α
I
␈↓ ↓H␈βα`␈↓βreccommend␈α
against␈α
using␈α
VER56P,␈α
VERREG␈α
and␈α
VERIDC.
␈↓ ↓H␈βα}␈↓∂; THESE BITS ARE IMPLEMENTED CURRENTLY:
␈↓ ↓H␈ββ8␈↓∂$!FF1;␈↓ αHBatch (left half of ␈↓εq␈↓∂) = 0
␈↓ ↓H␈ββ`␈↓∂VERHHR←←000001␈↓ βH;ENABLE H AND h HEIGHT OF FONT PSEUDO-REGISTER -- Has its effect at
␈↓ ↓H␈ββ}␈↓∂  the moment you attempt using any command that takes a register as an argument,
␈↓ ↓H␈β∧≤␈↓∂  and you specify register "H" or "h".
␈↓ ↓H␈β∧:␈↓∂VERTRC←←000002␈↓ βH;TRACE AND OTHER TTY OUTPUT
␈↓ ↓H␈β∧X␈↓∂VERSIM←←000004␈↓ βH;ENABLE <LF> SIMULATOR, ENABLE SIDE EFFECT OF REGISTER ";"
␈↓ ↓H␈β∧v␈↓∂  ;This simulates XGPSER enough to know at all times where it is on the page
␈↓ ↓H␈β¬∀␈↓∂  ;It allows sorting each output thing according to Y0 so that XGPSER doesn't complain
␈↓ α_␈β¬2␈↓βWARNING␈α∞--␈α∞This␈α∞bit␈α∞can␈α∞not␈α∞be␈α∞turned␈α∞off␈α∞at␈α∞all␈α∞(I␈α∞haven't␈α∞implemented␈α∞it␈α∞because␈α∞it␈α
doesn't
␈↓ ↓H␈β¬P␈↓βseem␈α
like␈α
a␈α
good␈α
idea␈α
for␈α
several␈α
reasons)␈α
--␈α
Regarding␈α
turning␈α
it␈α
on,␈α
if␈α
you␈α
turn␈α
it␈α
on␈α
after␈αone␈αor
␈↓ ↓H␈β¬n␈↓βmore␈αpages␈αof␈αtext␈αhave␈αbeen␈αoutput,␈αthe␈αbottom␈αmargin␈α
will␈α
probably␈α
get␈α
screwed␈α
up␈α
--␈α
If␈α
you␈α
turn␈α
it
␈↓ ↓H␈βε␈↓βon␈α
after␈α
text␈α
has␈α
been␈αoutput␈αon␈αthe␈αcurrent␈αpage,␈αthe␈αxspooler␈αwill␈αprobably␈αabort␈αdue␈αto␈αincorrect
␈↓ ↓H␈βε*␈↓βY0␈αsequence␈α--␈αIn␈αconclusion,␈αyou␈αshould␈αturn␈αon␈αthe␈αsimulator␈αbefore␈αany␈αtext␈αis␈αoutput␈αat␈αall,␈αor␈αnot
␈↓ ↓H␈βεH␈↓βat␈α
all.
␈↓ α_␈βεe␈↓βWARNING␈α--␈αYou␈αmust␈αdo␈αat␈αleast␈αone␈↓␈α1␈↓∂F␈↓β...␈αafter␈αturning␈αon␈αthe␈αsimulator␈αbefore␈αoutputting␈αany
␈↓ ↓H␈βπ¬␈↓βtext,␈α
or␈α
you␈α
will␈α
get␈α
screwed.
␈↓ ↓H␈βπ#␈↓∂;000000␈↓ αH000010␈↓ βH;(RESERVED FOR FUTURE SGK-JUSTIFIER)
␈↓ ↓H␈βπA␈↓∂VER56P←←000020␈↓ βH;ENABLE $5 AND $6 INITIALIZATION WITH TLIM1 AND BLIM1 DATA --
␈↓ ↓H␈βπ←␈↓∂  See BUG#2 -- Takes effect when a $M command is executed on a font not previously
␈↓ ↓H␈βπ⎇␈↓∂  loaded.
␈↓ ↓H␈βλ≠␈↓∂VERREM←←000040␈↓ βH;ENABLE REM'S SYNTAX FOR MACROS WITH ARGS DEFINITIONS -- Takes
␈↓ ↓H␈βλ9␈↓∂  effect when the macro is being defined.
␈↓ ↓H␈βλW␈↓∂VEREVE←←000100␈↓ βH;ENABLE EVERYPAGE MACRO
␈↓ ↓H␈βλs␈↓∂  ;If on, once on every new page of output it simulates ␈↓1␈↓∂!EVERYPAGE; occurring in
␈↓ ↓H␈β	∩␈↓∂  your input file (at the first occurrance of <CR><LF> or ␈↓1␈↓∂;...<CR><LF> while at
␈↓ ↓H␈β	2␈↓∂  pass-as-is mode, or a few other places -- If you want this to happen on the page
␈↓ ↓H␈β	N␈↓∂  where you turn on the feature, you will have to do ␈↓1␈↓∂!EVERYPAGE; yourself once there.
␈↓ ↓H␈β	n␈↓∂  WARNING!! -- Because of the fact that this macro is called at an almost-random
␈↓ ↓H␈β
␈↓∂  location with respect to your input file, it must be constructed so as to
␈↓ ↓H␈β
*␈↓∂  avoid clobbering anything (registers or input syntax, usually) that might
␈↓ ↓H␈β
H␈↓∂  confuse the main processing of the file.  Any registers used should be saved
␈↓ ↓H␈β
f␈↓∂  and restored using push/pop commands.  Watch out for $ $N $; $, etc. which
␈↓ ↓H␈β∧␈↓∂  will cause strange and confusing destruction of your world if the terminating
␈↓ ↓H␈β"␈↓∂  <crlf> <ff> etc. is missing from your everypage macro.
␈↓ ↓H␈β@␈↓∂;000000 000200␈↓ βH;(RESERVED FOR FUTURE COLIST-KLUDGE)
␈↓ ↓H␈β↑␈↓∂VERRHT←←000400␈↓ βH;ENABLE MODIFIED WAY TO PARSE ARGS THAT HAVE NESTING CHARS IN THEM
␈↓ ↓H␈β|␈↓∂  (i.e. anything inside nesting inside nesting is quoted, etc., see
␈↓ ↓H␈β~␈↓∂   the earlier section "Detailed examples of argument evaluation")
␈↓ ↓H␈β8␈↓∂  Takes effect when a parameter is being parsed prior to being bound to dummy arg.
␈↓ ↓H␈βV␈↓∂VERREG←←001000␈↓ βH;$'<OCTAL>; OLD WAY -- 177 ALWAYS EVEN IF IT DEFEATS POX QUIETLY
␈↓ ↓H␈βt␈↓∂VERSMT←←002000␈↓ βH;$'<OCTAL>; NEW WAY -- 177 ONLY IF NEEDED
␈↓ ↓H␈β
∩␈↓∂VERIDC←←004000␈↓ βH;SPECIAL REQUEST BY RHT, NO ERROR IF ; OMITTED AFTER MACRO CALL
␈↓ ↓H␈β
0␈↓∂VERPAG←←010000␈↓ βH;AUTOMATIC PAGE CHANGE W/OUT FIRST WARNING, TEXT AND $O OUTPUT OVL
␈↓ ↓H␈β
N␈↓∂VERBG1←←020000␈↓ βH;ENABLES BUG#1 WARNING MESSAGE (TEMPORARY)
␈↓ ↓H␈β
l␈↓∂VERLCS←←040000␈↓ βH;CHANGE WAY TABS IN PASSIS ARE DONE TO 1/10 OF RMAR-LMAR * INPUT COL
␈↓ ↓H␈β∞
␈↓∂  WARNING -- Only tabs in input file do the right thing.  A counter
␈↓ ↓H␈β∞(␈↓∂  keeps track of what column in the input file we are at, and
␈↓ ↓H␈β∞F␈↓∂  rounds up to multiple of 8 when a tab occurs in the input FILE
␈↓ ↓H␈β∞d␈↓∂  (not in a macro expansion patch).  Thus any text just after a tab
␈↓ ↓H␈β∂α␈↓∂  in the input file will appear on the output page in approximately
␈↓ ↓H␈β∂ ␈↓∂  the same column on the XGP.  Note that a tab in a macro will
␈↓ 
c␈↓α 21␈↓ α≥␈β⊂ ␈↓αPOX writeup,  edited 1975 DEC 05  07:52 PST,  compiled 1976 SEP 27  20:38 -- page 
␈↓ 
c␈↓α 22␈↓ α≥␈β↓α␈↓αPOX writeup,  edited 1975 DEC 05  07:52 PST,  compiled 1976 SEP 27  20:38 -- page 
␈↓ ↓H␈β↓H␈↓∂  activate this mechanism, but it will go to a position corresponding
␈↓ ↓H␈β↓f␈↓∂  to the input FILE rather than what that file would have been with
␈↓ ↓H␈βα∧␈↓∂  the macros inserted in it.  Note that the three low order bits
␈↓ ↓H␈βα"␈↓∂  of the column counter are ignored also.  A warning message
␈↓ ↓H␈βα@␈↓∂  will be generated if a tab is encountered in a macro while not at
␈↓ ↓H␈βα↑␈↓∂  a multiple of 8 columns, until such time as
␈↓ ↓H␈βα|␈↓∂  an implemtation is found that satisfies everyone.
␈↓ ↓H␈ββ~␈↓∂VERESC←←100000␈↓ βH;CAUSES BRICK CHAR IN MACRO BODY TO BE SAME AS ⊗$⊗ FEATURE, i.e.
␈↓ ↓H␈ββ8␈↓∂  the <BRICK> token rather than the character itself -- This bit is tested at the
␈↓ ↓H␈ββV␈↓∂ time the macro body is being parsed and associated with the macro name
␈↓ ↓H␈ββr␈↓∂(at define-time during execution of the ␈↓1␈↓∂8 or ␈↓1␈↓∂∞ command).
␈↓ ↓H␈β∧∩␈↓βWARNING!!␈α(75␈αAUG␈α03)␈α--␈αThe␈αtoken␈αin␈αthe␈αmacro␈αbody␈αis␈αreplaced␈αby␈αthe␈αcurrent␈αbrick␈αcharacter␈αat
␈↓ ↓H␈β∧0␈↓βthe␈α
time␈α
the␈α
token␈α
is␈α
rescanned␈α
as␈α
input,␈α
not␈α
earlier␈α
when␈α
the␈α
macro␈α
body␈α
is␈α
patched␈α
into␈α
the␈α
input
␈↓ ↓H␈β∧N␈↓βstream,␈α
so␈α
if␈α
your␈α
brick␈α
character␈α
at␈α
macro-define␈α
time␈α
was␈α
\␈α
and␈αthe␈αmacro␈αbody␈αincludes␈α\|$...$|\␈αit
␈↓ ↓H␈β∧l␈↓βwill␈α
be␈α
compiled␈α
as␈α
<brick>|$...$|<brick>␈α
then␈α
if␈α
when␈α
you␈α
call␈αit␈α\␈αis␈αthe␈αbrick␈αcharacter,␈αthe␈α<brick>|$
␈↓ ↓H␈β¬
␈↓βwill␈αbe␈αconverted␈αto␈α\|$␈αand␈α$␈αwill␈αbe␈αyou␈αbrick␈αcharacter␈αfor␈α...,␈αthen␈α$|<brick>␈αwill␈α
be␈α
converted␈α
to␈α
$|$
␈↓ ↓H␈β¬(␈↓βinstead␈αof␈αthe␈α$|\␈αyou␈αprobably␈αintended,␈αand␈αyou␈αwill␈αtotally␈αlose␈α
just␈α
like␈α
this␈α
POX␈α
writeup␈α
did␈α
before
␈↓ ↓H␈β¬F␈↓βI␈α∞located␈α∞this␈α∞subtle␈α∞bug␈α∞(in␈α∞this␈α∞writeup)␈α∞and␈α∞fixed␈α∞it.␈α∞If␈α∞you␈α
want␈α
the␈α
effect␈α
desired␈α
(whatever␈α
the
␈↓ ↓H␈β¬d␈↓βbrick␈αchar␈αis,␈αchange␈αit␈αto␈α$,␈α
then␈α
back␈α
again)␈α
you␈α
can␈α
probably␈α
make␈α
it␈α
work␈α
by␈α
having␈α
your␈α
macro␈α
call
␈↓ ↓H␈βεα␈↓βEVAL␈α∞with␈α∞a␈α∞quoted␈α∞string␈α∞containing␈α
the␈α
brick␈α
character,␈α
thereby␈α
forcing␈α
both␈α
<brick>␈α
tokens␈α
to␈α
be
␈↓ ↓H␈βε ␈↓βreplaced␈α∩by␈α∩the␈α∩same␈α∩brick␈α∩character␈α∩at␈α∩argument-binding␈α∩(arg␈α∩to␈α∩EVAL)␈α∩time␈α⊃and␈α⊃used␈α⊃in␈α⊃both
␈↓ ↓H␈βε>␈↓βinstances.␈α
Note␈α
that␈α
this␈α
subtle␈α
problem␈α
happens␈α
the␈α
same␈α
with␈α
the␈α
old␈α
⊗$⊗␈α
syntax␈α
in␈α
macro␈α
bodies.
␈↓ ↓H␈βε\␈↓∂VERXX1←←200000␈↓ βH;IMPLEMENTS CORRECT OUTPUT-OVERLAY AS OF 1975.JUL/AUG
␈↓ ↓H␈βεz␈↓∂VERVER←←400000␈↓ βH;ALLOWS TYPEOUT OF SPECIAL FEATURES ON/OFF
␈↓ ↓H␈βπ4␈↓∂$!FF1;␈↓ αHBatch (left half of ␈↓εq␈↓∂) = 1
␈↓ ↓H␈βπ\␈↓∂VE1QES←←000001␈↓ βH;SUPPRESSES CRUFTY OLD $$ "FEATURE"
␈↓ ↓H␈βπz␈↓∂VE1OPN←←000002␈↓ βH;OUTPUT PAGE NUMBERS TYPED
␈↓ ββ␈βλ4␈↓βFor␈αexample,␈αthe␈αcommand␈↓␈α1␈↓∂⊂'446;␈↓β␈αwill␈αturn␈α
on␈α
the␈α
simulator␈α
and␈α
enable
␈↓ ββ␈βλT␈↓βthe␈αfull␈α
REM␈α
macro-with-argument␈α
syntax␈α
with␈α
ability␈α
to␈α
quote␈α
portions␈α
of
␈↓ ββ␈βλr␈↓βarguments␈α⊂and␈α⊂cause␈α⊂trace␈α⊂output␈α⊂to␈α⊂appear␈α⊂on␈α∂your␈α∂terminal␈α∂as␈α∂POX
␈↓ ββ␈β	∂␈↓βruns.␈αThe␈α
command␈↓␈α
1␈↓∂⊂'1000001;␈↓β␈α
will␈α
turn␈α
on␈α
the␈α
bit␈α
that␈α
deletes␈α
the␈↓␈α
11
␈↓ ββ␈β	.␈↓βcommand.␈α
At␈α
a␈α
later␈αtime␈↓␈α1␈↓∂⊃'2;␈↓β␈αwill␈αturn␈αoff␈αthe␈αtrace␈αwithout␈αaffecting
␈↓ ββ␈β	N␈↓βthe␈α
simulator␈α
or␈α
macro-with-arguments␈α
or␈α
any␈α
other␈α
special-feature␈α
bits.
␈↓ ∧3␈β
	␈↓REMARKS ON USING THE POX PROGRAM
␈↓ α_␈β
,␈↓βIf␈αyou␈αhave␈αthe␈αVERTRC␈αflag␈αenabled␈α(see␈αthe␈↓␈α1␈↓∂⊂␈↓β␈αcommand␈αet.al.)␈αvarious␈αrandom␈αthings␈αwill␈αget
␈↓ ↓H␈β
K␈↓βtyped␈αout␈αwhile␈αPOX␈αis␈αrunning,␈αincluding␈αtext␈αin␈αyour␈αinput␈αfile␈αappearing␈αafter␈↓␈α1␈↓∂;␈↓β␈αand␈↓␈α1␈↓∂,␈↓β␈αcommands.
␈↓ ↓H␈β
k␈↓βFor␈α⊃the␈α⊃most␈α⊃part␈α⊃you␈α⊃may␈α⊃ignore␈α⊃them.␈α⊂If␈α⊂you␈α⊂really␈α⊂want␈α⊂to␈α⊂know␈α⊂about␈α⊂them,␈α⊂ask␈α⊂REM␈α⊂about
␈↓ ↓H␈β	␈↓βparticular␈αones,␈αor␈αlook␈αin␈αthe␈αsource␈αprogram␈αfor␈αPOX.␈αThese␈αtrace␈αoutputs␈αare␈α
all␈α
subject␈α
to␈α
purge␈α
at
␈↓ ↓H␈β'␈↓βany␈α
time␈α
as␈α
POX␈α
develops.
␈↓ α_␈βE␈↓βTo␈α∪enable␈α∪some␈α∪of␈α∪the␈α∩new␈α∩features␈α∩implemented␈α∩after␈α∩1974␈α∩Nov␈α∩which␈α∩conflict␈α∩with␈α∩old
␈↓ ↓H␈βb␈↓βfeatures,␈α⊃special␈α⊃flags␈α⊃must␈α⊃be␈α⊃set␈α⊃earlier␈α⊃in␈α⊃your␈α⊃input␈α⊃file␈α⊃(see␈α⊃the␈↓␈α⊃1␈↓∂⊂␈↓β␈α⊃command␈α⊂et.al.)␈α⊂--␈α⊂The
␈↓ ↓H␈βα␈↓βdefinition␈α
of␈α
register␈↓∂␈α
∀␈↓β␈α
as␈α
the␈α
accumulator,␈α
and␈α
the␈α
newly-implemented␈α
side-effects␈α
of␈α
q-register␈α"␈↓∂,␈↓β"
␈↓ ↓H␈β ␈↓βare␈α∂automatically␈α∂in␈α∂effect␈α∂and␈α∂can␈α∂not␈α∞be␈α∞inhibited␈α∞except␈α∞by␈α∞using␈α∞an␈α∞old␈α∞version␈α∞of␈α∞POX␈α∞(before
␈↓ ↓H␈β>␈↓β74.DEC).
␈↓ ¬Q␈βy␈↓Backtrace package
␈↓ α_␈β
≤␈↓βThere␈αare␈α5␈αkinds␈αof␈αerrors␈αthat␈αcan␈αoccur␈αwhile␈αPOX␈αis␈αcompiling␈αa␈αtext␈αfile:␈α(1)␈αE40␈α=␈αbugs␈αin
␈↓ ↓H␈β
:␈↓βthe␈αuser␈αfile␈αfrom␈αwhich␈αit␈αmight␈αbe␈αpossible␈αto␈αcontinue␈αif␈αthe␈αparser␈α
is␈α
correctly␈α
synchronized␈α
or␈α
if␈α
it
␈↓ ↓H␈β
X␈↓βwill␈αre-synchronize␈αitself␈αsoon␈αenough␈αto␈αbe␈αable␈αto␈αdo␈α
the␈α
rest␈α
of␈α
the␈α
file␈α
mostly␈α
correctly.␈α
(2)␈α
E40F␈α
=
␈↓ ↓H␈β
v␈↓β"fatal"␈αbugs␈αin␈αthe␈αuser␈αfile␈αfrom␈αwhich␈αcontinuation␈αis␈αnot␈αpossible␈αbut␈αcontext␈αinformation␈αis␈α
available
␈↓ ↓H␈β∞∀␈↓βand␈α∞might␈α∞be␈α∞helpful␈α
to␈α
the␈α
user␈α
(3)␈α
ERRF␈α
=␈α
errors␈α
caused␈α
by␈α
the␈α
input␈α
file␈α
that␈α
have␈α
wiped␈α
out␈α
all
␈↓ ↓H␈β∞2␈↓βcontext␈α
information␈α
--␈α
This␈α
usually␈α
happens␈α
at␈α
the␈α
end␈α
of␈α
a␈α
file␈α
while␈αinside␈αthe␈αmode␈αof␈αbuilding␈αup
␈↓ ↓H␈β∞P␈↓βthe␈α∂body␈α∂of␈α∂a␈α∂macro␈α∂or␈α∞macro-argument,␈α∞caused␈α∞by␈α∞a␈α∞missing␈α∞parenthesis␈α∞somewhere.␈α∞(4)␈α∞FATAL␈α∞=
␈↓ ↓H␈β∞n␈↓βbugs␈αin␈αPOX␈αin␈αcode␈αthat␈αis␈αin␈αa␈αstate␈αof␈αdebugging␈αand␈αstill␈αhas␈αASCII␈αwarning␈αmessages␈αfor␈αdetected
␈↓ ↓H␈β∂␈↓βerrors␈α∂(5)␈α∂INTERR␈α∂=␈α∂internal␈α∂errors␈α∂detected␈α∂in␈α∂POX␈α∂program,␈α∂in␈α∂code␈α∂that␈α∂shouldn't␈α∂have␈α∂anything
␈↓ ↓H␈β∂*␈↓βwrong␈α
with␈α
it,␈α
probably␈α
core␈α
clobberage␈α
rather␈α
than␈α
POX␈α
bugs.
␈↓ 
c␈↓α 22␈↓ α≥␈β⊂ ␈↓αPOX writeup,  edited 1975 DEC 05  07:52 PST,  compiled 1976 SEP 27  20:38 -- page 
␈↓ 
c␈↓α 23␈↓ α≥␈β↓α␈↓αPOX writeup,  edited 1975 DEC 05  07:52 PST,  compiled 1976 SEP 27  20:38 -- page 
␈↓ α_␈β↓H␈↓βIn␈αE40␈αerrors␈αthe␈αerror␈αmessage␈αis␈αtyped␈αout,␈αthen␈αthe␈αcurrent␈αlevel␈αof␈αmacro␈αexpansion␈αor␈αfile
␈↓ ↓H␈β↓f␈↓βinput␈αis␈αtyped␈αout␈αin␈αabout␈αthe␈αsame␈αway␈αas␈αthe␈αSAIL␈αcompiler␈αannounces␈αcompilation␈αerrors,␈αthen␈αthe
␈↓ ↓H␈βα∧␈↓βuser␈α
has␈α
the␈α
following␈α
options:
␈↓ α_␈βα!␈↓β→␈↓#↓ ␈↓#Hit␈↓∂␈α
P␈↓β␈α
to␈α
proceed␈α
with␈α
the␈α
program;
␈↓ α_␈βα?␈↓β→␈↓#↓ ␈↓#Hit␈↓¬␈α⊂<ctrl><meta>␈↓∂P␈↓β␈α⊂to␈α⊂clobber␈α⊂the␈α⊂error-call␈α⊂to␈α⊂a␈α∂NO-OP␈α∂and␈α∂proceed.␈α∂Thus␈α∂if␈α∂the␈α∂same␈α∂error
␈↓ ↓H␈βα↑␈↓βhappens␈α
no␈α
message␈α
will␈α
be␈α
generated␈α
and␈α
it␈α
will␈α
proceed␈α
as␈α
if␈α
you␈α
had␈α
typed␈↓∂␈α
P␈↓β␈α
each␈α
time;
␈↓ α_␈βα{␈↓β→␈↓#↓ ␈↓#Hit␈↓∂␈α
R␈↓β␈α
to␈α
remember␈α
the␈α
current␈α
location␈α
in␈α
the␈α
source␈α
file␈α
and␈α
proceed;
␈↓ α_␈ββ→␈↓β→␈↓#↓ ␈↓#Hit␈↓¬␈α
<ctrl><meta>␈↓∂R␈↓β␈α
to␈α
remember,␈α
clobber,␈α
and␈α
proceed;
␈↓ α_␈ββ7␈↓β→␈↓#↓ ␈↓#Hit␈↓∂␈α∞T␈↓β␈α∞to␈α∞pop␈α∞up␈α∞one␈α∞macro␈α∞level␈α∞and␈α∞do␈α∞a␈α∞context␈α∞display␈α
there␈α
too␈α
[the␈α
pop-up␈α
is␈α
for␈α
the
␈↓ ↓H␈ββV␈↓βdisplayed␈αoutput␈αonly,␈αit␈αdoesn't␈α
change␈α
the␈α
point␈α
where␈α
the␈α
program␈α
would␈α
resume␈α
if␈α
P␈α
were␈α
hit␈α
later]
␈↓ ↓H␈ββt␈↓β--␈αIf␈αyou␈αhave␈αpopped␈αup␈αto␈αan␈αactual␈αinput␈α
(DSK)␈α
file,␈α
or␈α
were␈α
there␈α
already,␈α
you␈α
can't␈α
pop␈α
up␈α
further
␈↓ ↓H␈β∧∩␈↓βbecause␈α
implementating␈α
that␈α
capability␈α
in␈α
an␈α
obvious␈α
way␈α
WOULD␈α
clobber␈α
the␈α
context;
␈↓ α_␈β∧/␈↓β→␈↓#↓ ␈↓#Hit␈↓∂␈αE␈↓β␈αto␈αreturn␈αto␈αdisplay␈αeditor␈αat␈αthis␈αlocation␈αin␈αthe␈αinput␈αfile.␈αThe␈αonly␈αway␈αthat␈αcurrently
␈↓ ↓H␈β∧N␈↓βexists␈αfor␈αgetting␈αfrom␈αE␈αback␈αto␈αPOX␈αautomatically␈αwith␈αthe␈αcorrect␈αtop-level␈αfile,␈αis␈αto␈αhave␈αa␈αdo␈αfile
␈↓ ↓H␈β∧l␈↓βthat␈α
says:␈↓∂␈α
R␈α
POX↔←␈↓¬<FILE>␈↓∂↔␈↓β␈α
and␈α
to␈α
type␈α
to␈α
the␈α
system␈↓∂␈αDO␈↓¬␈α<DO␈αFILE␈αNAME><CR><LF>␈↓β␈αthe␈αfirst␈αtime␈αyou␈αrun
␈↓ ↓H␈β¬
␈↓βPOX,␈α
then␈α
afterward␈α
to␈α
use␈α
the␈α
<CTRL><META>␈↓∂X␈α
G␈↓¬<CR>␈↓β␈α
command␈α
in␈α
E;
␈↓ α_␈β¬'␈↓β→␈↓#↓ ␈↓#Hit␈↓¬␈α
<ctrl><meta>␈↓∂E␈↓β␈α
to␈α
return␈α
to␈α
display␈α
editor␈α
at␈α
the␈α
location␈α
you␈α
had␈α
it␈α
remember␈α
earlier;
␈↓ α_␈β¬E␈↓β→␈↓#↓ ␈↓#Hit␈↓∂␈α⊂D␈↓β␈α⊂to␈α⊂go␈α⊂into␈α⊂debug␈α⊂mode␈α⊂(i.e.␈α⊂RAID).␈α⊂Hit␈α⊂<ctrl>P␈α⊂to␈α⊂return␈α⊂from␈α⊂RAID␈α⊂to␈α⊂the␈α⊂backtrace
␈↓ ↓H␈β¬d␈↓βpackage;
␈↓ α_␈βε↓␈↓β→␈↓#↓ ␈↓#Hit␈α<CALL>␈αto␈αdo␈αanything␈αelse,␈αlike␈α
to␈α
edit␈α
with␈α
SOS,␈α
or␈α
to␈α
give␈α
up␈α
entirely,␈α
or␈α
to␈α
"␈↓∂F␈α
DSK␈↓β"␈α
then
␈↓ ↓H␈βε ␈↓βsee␈α
what␈α
POX␈α
outputted␈α
before␈α
the␈α
error␈α
occurrred.
␈↓ α_␈βε>␈↓βFrom␈α
E40F␈α
errors␈α
all␈α
the␈α
above␈α
are␈α
available␈α
except␈α
those␈α
which␈α
involve␈α
proceeding.
␈↓ α_␈βε\␈↓βIf␈α
you␈α
want␈αto␈αexamine␈αyour␈αoutput␈αfile␈αaccording␈αto␈αhow␈αthe␈αXGP␈αservice␈αparses␈αit,␈↓∂␈αR␈αXGPTYP␈↓β.
␈↓ ↓H␈βεz␈↓βFor␈αinvestigating␈αnew␈αbugs␈αin␈αa␈αlarge␈αfile,␈αa␈α
useful␈α
technique␈α
is␈α
to␈α
run␈α
XGPTYP␈α
on␈α
both␈α
the␈α
output␈α
from
␈↓ ↓H␈βπ_␈↓βa␈α∂backup␈α∂working␈α∂version␈α∂of␈α∂your␈α∂file␈α∂and␈α∂the␈α∂output␈α∂from␈α∂the␈α∞version␈α∞you␈α∞are␈α∞debugging,␈α∞then␈↓∂␈α∞R
␈↓ ↓H␈βπ6␈↓∂SRCCOM␈↓β␈α
and␈↓∂␈α
TTY:←␈↓β<OLD␈α
XGPTYP␈α
LISTING>␈↓∂,␈↓β<NEW␈α
XGPTYP␈α
LISTING>.
␈↓ α_␈βπT␈↓βIf␈α∞your␈α∞file␈α∞looks␈α∞ok␈α∞but␈α
you␈α
get␈α
the␈α
message␈↓∂␈α
XGPSER␈α
MISSED␈α
IT.␈↓β␈α
then␈α
try␈α
appending␈α
to␈α
the
␈↓ ↓H␈βπr␈↓βend␈α
of␈α
the␈↓∂␈αXSPOOL␈↓β␈αcommand␈αthe␈αswitch␈↓∂␈α/NTNODE=31␈↓β,␈αthen␈αif␈αit␈αstill␈αdoesn't␈αwork␈αdiscuss␈αit␈αwith␈αRWG
␈↓ ↓H␈βλ⊂␈↓βor␈α
REG␈α
who␈α
are␈α
experts␈α
at␈α
this.
␈↓ β`␈βλK␈↓Known Bugs in POX (Referred-to earlier in writeup)
␈↓ α_␈βλn␈↓βBUG#1␈α
--␈α
[Fixed␈α
1975␈α
MAY/JUN]
␈↓ α_␈β	*␈↓βBUG#2␈α∂--␈α∂Font␈α∂FORN25␈α∂and␈α∂other␈α∂fonts␈α∞with␈α∞funny␈α∞width␈α∞characters␈α∞cause␈α∞a␈α∞fatal␈α∞error,␈α∞and
␈↓ ↓H␈β	G␈↓βparameters␈α∞5,6␈α∞don't␈α∞usually␈α∞work␈α∞correctly.␈α∞[new␈α∞bug␈α∞since␈↓␈α∞1␈↓∂5␈↓β␈α∞and␈↓␈α∞1␈↓∂6␈↓β␈α
were␈α
implemented,␈α
the␈α
bad
␈↓ ↓H␈β	f␈↓βcode␈α⊃has␈α⊃now␈α⊃been␈α⊂patched-around,␈α⊂so␈α⊂that␈α⊂normally␈α⊂no␈α⊂bug␈α⊂will␈α⊂occur␈α⊂but␈↓␈α⊂1␈↓∂5␈↓β␈α⊂and␈↓␈α⊂1␈↓∂6␈↓β␈α⊂will␈α⊂give
␈↓ ↓H␈β
¬␈↓βincorrect␈αdata,␈αbut␈αif␈αyou␈αuse␈αthe␈↓␈α1␈↓∂⊂'20;␈↓β␈αswitch␈αyou␈αtake␈αyour␈αchances␈α--␈αsomeday␈αthe␈αcode␈αwill␈αbe
␈↓ ↓H␈β
%␈↓βreally␈α
fixed.]
␈↓ α_␈β
a␈↓βBUG#3␈α--␈αAfter␈αsome␈α
errors␈α
that␈α
happen␈α
in␈α
justify␈α
mode,␈α
typing␈↓∂␈α
P␈↓β␈α
will␈α
hang␈α
in␈α
a␈α
loop␈α
in␈α
which␈α
an
␈↓ ↓H␈β
␈␈↓βerroneous␈α
error␈α
is␈α
repeatedly␈α
hit␈α
--␈α
someday␈α
I␈α
might␈α
figure␈α
out␈α
what␈α
is␈α
happening␈α
here.
␈↓ α_␈β;␈↓βBUG#4␈α
--␈α
In␈α
justify␈α
mode,␈α
N␈α
blank␈α
lines␈α
in␈α
input␈α
generate␈α
2N-1␈α
blank␈α
lines␈α
in␈α
output.␈α
I␈α
haven't
␈↓ ↓H␈βY␈↓βfigured␈α
out␈α
a␈α
simple␈α
way␈α
to␈α
fix␈α
it,␈α
so␈α
beware.
␈↓ ∧<␈β∀␈↓NOTES (Referred-to earlier in writeup)
␈↓ ↓H␈β7␈↓β(NOTE␈α
1)␈α--␈αEverywhere,␈αexcept␈αat␈αthe␈αstart␈αof␈αthe␈αtop-level␈αfile,␈αPOX␈αreads␈αcharacters␈αin␈αthe␈αnormal
␈↓ ↓H␈βU␈↓βsequence,␈α∞and␈α∞expects␈α∞all␈α∞syntax␈α
to␈α
be␈α
left-to-right␈α
decodeable.␈α
This␈α
is␈α
why,␈α
for␈α
example,␈α
the␈α
string
␈↓ ↓H␈βr␈↓11␈↓∂!FOO;␈↓β,␈α
if␈α
seen␈α
in␈α
top-level␈αleft␈αcontext,␈αis␈αparsed␈αas␈α[quote␈αthe␈αescape␈αcharacter,␈αthen␈αoutput␈αthe
␈↓ ↓H␈β
∩␈↓βstring␈α
"␈↓∂!FOO␈↓β"],␈α
rather␈α
than␈α
as␈α
[expand␈α
the␈α
macro␈↓∂␈α
FOO␈↓β␈α
then␈α
execute␈α
the␈α
command␈α
that␈α
results␈α
from␈αa
␈↓ ↓H␈β
0␈↓βbrick␈α
character␈α
in␈α
front␈α
of␈α
it].
␈↓ α_␈β
N␈↓βHowever,␈α
at␈α
the␈α
start␈α
of␈α
the␈α
first␈α
top-level␈α
input␈α
file␈α
a␈α
special␈αinitialization␈αparser␈αis␈αemployed
␈↓ ↓H␈β
l␈↓βthat␈αpre-reads␈αthe␈αfirst␈αtwo␈αcharacters␈αthen␈αdecides␈αwhat␈αto␈αdo␈αregarding␈αsyntax.␈αThe␈αfollowing␈αtable
␈↓ ↓H␈β∞
␈↓βshows␈αthe␈αfirst␈αcharacters␈αand␈αwhat␈α
happens␈α
(here␈α
"∀"␈α
means␈α
any␈α
character␈α
not␈α
mentionned␈α
previously
␈↓ ↓H␈β∞(␈↓βin␈α∀the␈α∀same␈α∀context,␈α∀"∀∀"␈α∀means␈α∀the␈α∀two␈α∀copies␈α∀of␈α∀some␈α∪character,␈α∪"∀∃"␈α∪means␈α∪two␈α∪different
␈↓ ↓H␈β∞F␈↓βcharacters):
␈↓ α_␈β∞d␈↓∂C␈↓β␈α
--␈α
assumes␈α
this␈α
is␈α
a␈α
TV/E␈αdirectory␈α--␈αskips␈αeverything␈αuntil␈αASCII␈α'014␈α(Form␈αFeed)␈αis␈αseen,
␈↓ ↓H␈β∂α␈↓βthen␈α
prereads␈α
again␈α
using␈α
only␈α
the␈α
options␈α
below␈α
this␈α
one.
␈↓ α_␈β∂ ␈↓∂∀|␈↓β␈α--␈αassumes␈αthis␈αis␈αa␈α"change␈αthe␈αescape␈αcharacter"␈αcommand␈α--␈αjumps␈αinto␈αthe␈αmiddle␈αof␈αthe
␈↓ 
c␈↓α 23␈↓ α≥␈β⊂ ␈↓αPOX writeup,  edited 1975 DEC 05  07:52 PST,  compiled 1976 SEP 27  20:38 -- page 
␈↓ 
c␈↓α 24␈↓ α≥␈β↓α␈↓αPOX writeup,  edited 1975 DEC 05  07:52 PST,  compiled 1976 SEP 27  20:38 -- page 
␈↓ ↓H␈β↓H␈↓1␈↓∂|␈↓¬<CH>␈↓β␈α
code␈α
--␈α
in␈α
my␈α
opinion,␈α
this␈α
is␈α
the␈α
preferred␈α
way␈α
to␈α
begin␈α
a␈α
POX␈α
file␈αand␈αall␈αnew␈αfiles␈αshould
␈↓ ↓H␈β↓h␈↓βbegin␈α∞this␈α∞way␈α∞--␈α∞for␈α∞example,␈α∞your␈α∞file␈α∞might␈α∞begin␈α∞with␈↓∂␈α
\|\\M0KBD25;\M1BDR30;\;␈↓β␈α
which␈α
would
␈↓ ↓H␈βα¬␈↓βdefine␈↓∂␈α\␈↓β␈αas␈αthe␈↓␈α1␈↓β␈αcharacter,␈α
change␈α
it␈α
to␈↓∂␈α
\␈↓β␈α
(i.e.␈α
no␈α
change),␈α
define␈α
two␈α
fonts,␈α
and␈α
suppress␈α
the␈↓¬␈α
<CR><LF>
␈↓ ↓H␈βα%␈↓βat␈α⊃the␈α⊃end␈α⊃of␈α⊃the␈α⊃line␈α⊂--␈α⊂Note␈α⊂that␈α⊂because␈α⊂most␈α⊂users␈α⊂of␈α⊂POX␈α⊂prefer␈α⊂to␈α⊂use␈α⊂"␈↓∂\␈↓β"␈α⊂as␈α⊂their␈α⊂brick
␈↓ ↓H␈βαC␈↓βcharacter,␈αif␈αyou␈αplan␈αto␈αuse␈αsome␈αcharacter␈αother␈αthan␈α\␈αas␈αthe␈αbrick␈αcharacter␈αin␈αyour␈αfile,␈αand␈αyou
␈↓ ↓H␈βαa␈↓βwant␈αyour␈αfile␈αto␈αbe␈αcallable␈α(with␈αminimum␈αhassle)␈αas␈αa␈αrequired␈αsource␈αfile␈αfrom␈αsome␈αother␈αfile,␈αyou
␈↓ ↓H␈βα}␈↓βshould␈αprobably␈αbegin␈αyour␈αfile␈αwith␈↓∂␈α\|␈↓1␈↓β␈α(where␈↓␈α1␈↓β␈αdenotes␈α
your␈α
local␈α
brick␈α
character)␈α
and␈α
put␈↓␈α
1␈↓∂|\␈↓β␈α
at
␈↓ ↓H␈ββ≥␈↓βthe␈α∂very␈α∂end␈α∂of␈α∂the␈α∂file.␈α∂--␈α∂Note␈α∂that␈α∂this␈α∂does␈α∂not␈α∂apply␈α∂to␈α∂libraries␈α∂of␈α∂macros,␈α∂in␈α∂which␈α∞the␈↓␈α∞1␈↓∂|
␈↓ ↓H␈ββ=␈↓βcommand␈αis␈αcurrently␈αignored,␈αand␈αyou␈αshould␈αavoid␈αincluding␈αit␈α(thus␈αall␈αmacro␈αdefinitions␈αwill␈αuse␈αthe
␈↓ ↓H␈ββ[␈↓βsame␈α
brick␈α
character␈α
throughout␈α
your␈α
file).
␈↓ α_␈ββy␈↓∂∀∀␈↓β␈α
--␈α
assume␈α
this␈α
is␈α
a␈αbare␈α(out-of-syntax)␈αoccurrance␈αof␈αthe␈αescape␈αcharacter␈αfor␈αpurpose␈αof
␈↓ ↓H␈β∧↔␈↓βdefining␈α
it␈α
the␈α
old␈α
way␈α
(1973␈α
MAR-APR),␈α
followed␈α
by␈α
the␈α
beginning␈α
of␈α
a␈α
POX␈αcommand␈α--␈αjumps␈αinto
␈↓ ↓H␈β∧4␈↓βthe␈α
middle␈α
of␈α
the␈α
escape␈α
code␈α
at␈α
the␈α
point␈α
just␈α
after␈α
the␈↓␈α
1␈↓β␈α
has␈α
been␈α
recognized.
␈↓ α_␈β∧S␈↓∂∀.␈↓β␈α⊂--␈α⊂assume␈α⊂this␈α⊂is␈α⊂an␈α⊂old-style␈↓␈α⊂1␈↓∂;␈↓β␈α⊂command␈α⊂(don't␈α∂rely␈α∂on␈α∂this,␈α∂it␈α∂is␈α∂incorrect)␈α∂--␈α∂ignore
␈↓ ↓H␈β∧s␈↓βthrough␈α
next␈α
<crlf>␈α
then␈α
jump␈α
into␈α
beginning␈α
of␈α
PASS-AS-IS␈α
loop.
␈↓ α_␈β¬⊃␈↓∂∀;␈↓β␈α
--␈α
assume␈α
this␈α
is␈α
a␈α
skip-to-crlf␈α
command␈α
--␈α
does␈α
it␈α
(see␈α
above)
␈↓ α_␈β¬/␈↓∂∀∃␈↓β␈α--␈αassumes␈αthe␈αfirst␈αis␈αthe␈αescape␈αcharacter␈αand␈αthat␈αthe␈αuser␈αis␈αconfused␈αabout␈αwhat␈αto␈αdo
␈↓ ↓H␈β¬M␈↓βnext␈α
--␈α
jumps␈α
into␈α
the␈α
PASS-AS-IS␈αloop␈αjust␈αafter␈αa␈αcharacter␈αhas␈αbeen␈αread,␈αto␈αbe␈αable␈αto␈αact␈αupon
␈↓ ↓H␈β¬k␈↓βthe␈α
∃␈α
character␈α
--␈α
because␈α
∃␈α
is␈α
not␈αthe␈αbrick␈αcharacter,␈αan␈αerror␈αwill␈αbe␈αgenerated␈αbecause␈αPOX␈αwill
␈↓ ↓H␈βε	␈↓βattempt␈α
to␈α
output␈α
the␈α
∃␈α
character␈α
but␈α
no␈α
font␈α
has␈α
yet␈α
been␈α
defined.
␈↓ ↓H␈βεD␈↓β(NOTE␈α
2)␈α
--␈α
THIS␈α
NOTE␈α
PURGED␈α
--␈α
SEE␈α
COMMANDS␈↓␈α
1␈↓∂`␈↓␈α
1␈↓β⊂␈↓␈α
1␈↓β⊃
␈↓ ↓H␈βπα␈↓β(NOTE␈α3)␈α--␈αOf␈αcourse,␈αsince␈αthe␈αexpansion␈αof␈αa␈αmacro␈αgenerates␈αa␈αnew␈αstring␈αof␈αtext␈αas␈αif␈α
it␈α
had␈α
been
␈↓ ↓H␈βπ ␈↓βin␈αthe␈αinput␈αfile␈αoriginally,␈αsyntax␈αcan␈αbe␈αaltered␈αif␈αthe␈αbody␈αof␈αa␈αmacro␈αbegins␈αbut␈αdoes␈αnot␈αcomplete
␈↓ ↓H␈βπ=␈↓βsome␈α
escape␈α
sequence.␈α
Thus␈α
the␈α
definition␈↓␈α
1␈↓∂∞FOO[␈↓1␈↓∂oBIGMESS{4]␈↓β␈α
will␈α
set␈α
it␈α
up␈α
so␈α
that␈↓␈α
1␈↓∂!FOO;␈↓β␈αwill
␈↓ ↓H␈βπ]␈↓βbegin␈α∂the␈α∂definition␈α∂of␈α∂an␈α∂atomic␈α∂text␈α∂overlay␈α∂but␈α∂not␈α∂finish␈α∂it,␈α∂until␈α∂some␈α∂time␈α∂later␈α∂in␈α∞the␈α∞file␈α∞an
␈↓ ↓H␈βπ{␈↓βunmatched␈α
"␈↓∂}␈↓β"␈α
occurs.␈α
This␈α
can␈α
be␈α
confusing,␈α
so␈α
watch␈α
your␈α
macros␈α
carefully.
␈↓ ↓H␈βλ7␈↓β(NOTE␈α4)␈α--␈αIn␈αnormal␈αmode,␈αletting␈αthe␈αsystem␈αdo␈α<LF>␈αitself␈αor␈α
simulating␈α
what␈α
it␈α
does,␈α
subscripts␈α
etc.
␈↓ ↓H␈βλU␈↓βcause␈α∞irregular␈α∞spacing␈α∞of␈α∞lines␈α∞because␈α∞each␈α∞line␈α
takes␈α
up␈α
just␈α
as␈α
much␈α
space␈α
as␈α
it␈α
needs␈α
to␈α
avoid
␈↓ ↓H␈βλs␈↓βoverlap.␈α∂If␈α∂the␈α∂system␈α∂is␈α∂doing␈α∂<LF>'s␈α∂all␈α∂by␈α∂itself␈α∂(the␈α∂only␈α∂mode␈α∂currently␈α∂implemented),␈α∂the␈α∂POX
␈↓ ↓H␈β	⊃␈↓βprogram␈αhasn't␈αthe␈αvagueest␈αidea␈αwhere␈αon␈αthe␈αpage␈αthe␈αcurrent␈αline␈αof␈αtext␈αwill␈αbe␈αlocated␈αwhen␈αthe
␈↓ ↓H␈β	/␈↓βsystem␈αgets␈αaround␈αto␈αputting␈αthe␈αoutput␈αonto␈αthe␈αXGP.␈αHowever,␈αif␈αPOX␈αis␈αsimulating␈αwhat␈αthe␈αsystem
␈↓ ↓H␈β	M␈↓βwould␈α∞do,␈α∞then␈α∞POX␈α
is␈α
using␈α
register␈α
"␈↓∂;␈↓β"␈α
and␈α
a␈α
couple␈α
of␈α
internal␈α
locations␈α
to␈α
keep␈α
track␈α
of␈α
the␈α
last
␈↓ ↓H␈β	k␈↓βscan-line␈α
used,␈α
etc.
␈↓ α_␈β
	␈↓βIn␈α
pretty-spacing␈α
mode,␈α
the␈α
baselines␈α
of␈α
the␈αtext␈αlines␈αare␈αcaused␈αto␈αbe␈αevenly-spaced␈αeven␈αif
␈↓ ↓H␈β
'␈↓βoverlap␈α∞occurs␈α∞or␈α∞font␈α∞size␈α∞varies.␈α∞This␈α∞is␈α∞done␈α∞by␈α∞computing␈α
where␈α
the␈α
top␈α
scan␈α
line␈α
should␈α
be␈α
(Y
␈↓ ↓H␈β
E␈↓βposition␈αof␈αbaseline␈αdesired,␈αminus␈αY␈αoffset␈αof␈αworst-case␈αsuperscript)␈αand␈αtelling␈α
the␈α
system␈α
to␈α
do␈α
the
␈↓ ↓H␈β
c␈↓βline␈αthere␈α(BLETCH!␈αBLETCH!).␈αThis␈αmode␈αis␈αobtained␈αby␈αsetting␈αthe␈αε␈αparameter␈αto␈α
correct␈α
line␈α
spacing,
␈↓ ↓H␈β↓␈↓βand␈α∀setting␈α∀the␈α∪λ␈α∪parameter␈α∪sufficiently␈α∪negative␈α∪to␈α∪allow␈α∪all␈α∪overlap␈α∪that␈α∪is␈α∪expected␈α∪without
␈↓ ↓H␈β∨␈↓βspreading␈α
lines␈α
further␈α
apart.
␈↓ ↓H␈βZ␈↓β(NOTE␈α∞5)␈α∞--␈α∞If␈α∞the␈α∞font␈α∞file␈α∞is␈α∞already␈α∞compiled,␈α∞the␈↓␈α∞1␈↓∂M␈↓β␈α∞command␈α∞merely␈α∞maps␈α∞from␈α∞the␈α∞logical␈α∞font
␈↓ ↓H␈βz␈↓βnumber␈αyou␈αselected␈αto␈αthe␈α
already-compiled␈α
system␈α
font␈α
number.␈α
If␈α
the␈α
font␈α
you␈α
requested␈α
is␈α
new␈α
but
␈↓ ↓H␈β_␈↓βthe␈α
logical␈α
font␈α
number␈α
is␈α
already␈α
in␈α
use,␈α
it␈α
finds␈α
a␈α
slot,␈α
loads␈α
the␈α
font,␈α
and␈α
maps␈α
the␈α
font␈α
number.
␈↓ ε(␈βS␈↓TRIVIA
␈↓ ↓H␈βv␈↓βPASSI4␈α∞--␈α
Tell␈α
user,␈α
at␈α
PASSI4+3␈α
is␈α
a␈α
CAI␈α
(NO-OP)␈α
that␈α
is␈α
executed␈α
only␈α
when␈α
POX␈α
tries␈α
to␈α
output␈α
a
␈↓ ↓H␈β
∀␈↓βsemicolon␈αat␈αpassis-level.␈αPatching␈αit␈αto␈αa␈αHALT␈αor␈αsetting␈αa␈αbreakpoint␈αthere␈αis␈αuseful␈αfor␈αdebugging␈α
a
␈↓ ↓H␈β
2␈↓βmysterous␈α
extra␈α
semicolon␈α
that␈α
you've␈α
created.␈α
If␈α
that␈α
doesn't␈α
find␈α
it,␈α
try␈α
patching␈α
PUTCHR+1␈α
too.
␈↓ α_␈β
n␈↓βAs␈α
long␈α
as␈α
there␈α
is␈α
room␈α
in␈α
your␈αmind,␈αI␈αmight␈αas␈αwell␈αmention␈αsome␈αmajor␈αdeficiencies␈αof␈αPOX.
␈↓ ↓H␈β∞␈↓βThere␈αis␈α
no␈α
way␈α
to␈α
place␈α
overlays␈α
in␈α
justified␈α
or␈α
center/rightified␈α
text.␈α
There␈α
is␈α
no␈α
way␈α
to␈α
do␈α
automatic
␈↓ ↓H␈β∞*␈↓βfootnotes␈α
or␈α
indexes␈α
or␈α
cross-references.␈α
Syntax␈α
is␈α
mostly␈α
strange.
␈↓ α_␈β∞f␈↓βONE␈αFINAL␈αTOUCH␈αTO␈αTHIS␈αWRITEUP␈α--␈αThe␈αspirograph␈αnear␈αthe␈αbottom␈αof␈αthis␈α
page␈α
(or␈α
the␈α
next
␈↓ ↓H␈β∂∧␈↓βif␈αthere␈αwasn't␈αroom␈αhere)␈αis␈αa␈αsimple␈αexample␈αof␈αhow␈αto␈αuse␈αrecursive␈α
macros␈α
to␈α
make␈α
program␈α
loops.
␈↓ ↓H␈β∂!␈↓βIt␈α
also␈α
shows␈α
you␈α
the␈α
overshoot␈α
that␈α
happens␈α
with␈α
almost-horizonal␈α
vectors␈α
of␈α
the␈↓␈α
1␈↓∂v␈↓β␈α
type.
␈↓ 
c␈↓α 24␈↓ α≥␈β⊂ ␈↓αPOX writeup,  edited 1975 DEC 05  07:52 PST,  compiled 1976 SEP 27  20:38 -- page 
␈↓ 
c␈↓α 25␈↓ α≥␈β↓α␈↓αPOX writeup,  edited 1975 DEC 05  07:52 PST,  compiled 1976 SEP 27  20:38 -- page 
␈↓ ↓H␈β↓f␈↓∂_; DRAW SPIROGRAPH STARTING AT (X,Y)/D (x,y)/d offset by (8,9)
␈↓ ↓H␈βα∧␈↓∂_∞SPIRO⊂_←X_→a_←Y_→b_←x_/d_+y_→y_+Y_→Y_←y_/d_¬x_→x_+X_→X_; wheel #1 perturbs #0
␈↓ ↓H␈βα"␈↓∂_←X_/D_+Y_→Y_←Y_/D_¬X_→X_; wheel #0
␈↓ ↓H␈βα@␈↓∂_←X_+8_→A_←a_+8_→a_←Y_+9_→B_←b_+9_→b_vabAB=2;⊃_; and offset for XGP
␈↓ ↓H␈βα↑␈↓∂_;
␈↓ ↓H␈βα|␈↓∂_∞SPIROS⊂_!SPIRO;_←I_-=1;_→I_?SPIROS;⊃_;
␈↓ ↓H␈ββ~␈↓∂_;
␈↓ ↓H␈ββ8␈↓∂_←=800;_→8_←=1750;_→9_;
␈↓ ↓H␈ββV␈↓∂_←=-44;_→X_←=26;_→Y_←=2;_→D_;
␈↓ ↓H␈ββt␈↓∂_←=-29;_→x_←=69;_→y_←=1;_→d_;
␈↓ ↓H␈β∧∩␈↓∂_←=200;_→I_!SPIROS;_;
␈∧↑π,␈gp ␈∧↑π,β?wα␈∧←π≡␈l('
␈∧←ε␈␈qd6π␈∧←ε␈∧e`β␈∧←π≡βipα␈∧dε←␈t␈E¬␈∧dε←εεPβ␈∧hπ8␈`V_∂␈∧hπ8β	⎇α␈∧kπF␈Q@⊂↔␈∧kπFα`↓∧α␈∧pεAπ@A∧␈∧pεA␈vuQ∧␈∧wπO␈&λ-␈∧wπOα8↓λα␈∧{ε␈{m↓¬α␈∧}¬k␈|*↓∃α␈∧␈ε+α↓0␈∧␈ε+␈{-uβ␈∧␈ε≠␈{S⎇α␈∧␈π[α∩↓∞α␈∧¬|␈|∂↓α␈∧∧ε$	*3¬␈∧∧ε$␈x#Z∧␈∧ε¬↑␈|F↓~α␈∧πε7pUε8␈∧πε7␈{∀mβ␈∧εD6U≠␈∧εD␈zmeβ␈∧
π`↓p↓⊃α␈∧∃¬?␈|⎇↓%α␈∧_πh↓N↓∃α␈∧≡ε>'ε␈∧≡ε␈y&`β␈∧ εX≠⊗
␈∧ εX␈z6Vβ␈∧)¬!␈⎇0↓/α␈∧1π;␈␈N↓∧α␈∧4πX␈␈7↓∩α␈∧6πm↓∃↓↔α␈∧7π≠␈␈]tα␈∧:εd∪≤	␈∧:¬w∞~≥π␈∧:εd␈z≤Jβ␈∧:¬w␈zλcβ␈∧?πr␈␈⊗↓∨α␈∧A¬	␈⎇]↓5α␈∧Eε|␈␈]dα␈∧Oλ	␈}t↓+α␈∧Uλ∀␈}i↓0α␈∧Vεi∂∨π␈∧Vεi␈z$Aβ␈∧Vπig↓∃α␈∧Wε↑␈␈PUα␈∧Y¬j⊂E⊗λ␈∧Y¬j␈zTbβ␈∧↑∧v␈}	↓8α␈∧eλ_␈}Q↓2α␈∧oεE␈␈≡Iα␈∧oλ!␈}?↓7α␈∧q¬B␈␈Neα␈∧t¬3␈␈Vlα␈∧t¬#␈␈Ytα␈∧uπ↑<↓⊂α␈∧vεg
L≡π␈∧vεg␈zY:β␈∧v¬`␈␈PUα␈∧y¬b⊃∞∩λ␈∧y¬b␈{∞↑β␈∧|¬∪␈␈lzα␈∧}∧k␈}2↓5α␈∧␈λ"␈})↓7α␈∧
¬α␈␈u↓↓α␈∧
∧¬y␈␈yEα␈∧
ε/␈}C>α␈∧
∧t↓¬α␈∧

λ'␈}↔↓:α␈∧
∪∧b→↓α␈∧
∀πM⊗↓πα␈∧
∃ε↑∞≡→π␈∧
∃ε↑␈{>6β␈∧
↔εU6α␈∧
_¬ck∪ε␈∧
_¬c␈{-Vβ␈∧
≥∧d␈}\↓1α␈∧
≡λ$␈⎇}↓8α␈∧
 ∧Y.↓∞α␈∧
)εu␈z⊗0β␈∧
+ε ␈⎇;7α␈∧
+π∪␈z}?β␈∧
,εV␈x⊂!∧␈∧
-∧FE↓∀α␈∧
-λ$␈⎇j↓8α␈∧
.π7␈␈x|α␈∧
0ε~αε)α␈∧
4εP⊃∞∩λ␈∧
4¬lπi↔∧␈∧
4εP␈|L6α␈∧
4¬l␈{-Jβ␈∧
5π.␈{"Lβ␈∧
8ε7␈q↔⊃π␈∧
:∧BZ↓∪α␈∧
;∧g␈␈↓(α␈∧
>¬v¬6≤β␈∧
>¬v␈{⊗Cβ␈∧
FπC␈{≤Wβ␈∧
Fπ≥␈␈`oα␈∧
Iε_␈α@␈∧
Kε!∧B∨β␈∧
Kε→␈|∃3α␈∧
L¬|βo∨α␈∧
L¬|␈{	<β␈∧
Mλ→␈⎇:↓3α␈∧
Oε:'6π∪␈∧
Oε:␈⎇f:α␈∧
Qε
αC&α␈∧
Qε
␈zE4β␈∧
V¬8↔␈∧
Vε␈␈␈V`α␈∧
W∧o␈␈"↓≥α␈∧
X∧.↓↓∃α␈∧
Zε≤␈{Z5α␈∧
\ε∀↓>+α␈∧
\ε∀␈z,β␈∧
]ε#␈xo%∧␈∧
]ε#z2α␈∧
↑πQ␈zs↑β␈∧
←ε`␈TVε∃␈∧
←ε`␈␈aQα␈∧
`¬*∩@⊂	␈∧
aε@␈t/⊗ε␈∧
aε@∂Aα␈∧
eε2␈w∪≤∧␈∧
eε2#:α␈∧
eε∨␈}VBα␈∧
h¬~∞↔⊗π␈∧
jε"λY↔∧␈∧
kε~␈{4β␈∧
kλπ␈⎇↓*α␈∧
n∧␈␈␈D↓∂α␈∧
v°
L→π␈∧
v∧"↓A↓∀α␈∧
wε"␈ze8β␈∧
wε␈␈*Mα␈∧
zπZ␈z:bβ␈∧
}¬⊗␈␈\↓α␈∧∞↓∧␈≡ε␈∧∞↓¬t␈␈MPα␈∧∞↓¬%␈␈↑xα␈∧∞α¬a␈␈XYα␈∧∞¬π`␈z,eβ␈∧∞¬¬C␈␈chα␈∧∞¬πo␈|X↓≡α␈∧∞πε$␈z 9β␈∧∞λ¬R␈␈k←α␈∧∞λ¬2␈␈noα␈∧∞	ε~
∀ε␈∧∞∂ε/␈z*>β␈∧∞⊃∧w
λ≡ε␈∧∞⊗∧≥αβ↓∞α␈∧∞↔π[␈ytcβ␈∧∞≠πS␈| ↓⊂α␈∧∞∨∧i]!ε␈∧∞∨ε6␈zλBβ␈∧∞"εB␈z!Gβ␈∧∞&π\␈yOcβ␈∧∞'ε	∂≡∃π␈∧∞*π5␈{i↓↓α␈∧∞.∧f∞J∨π␈∧∞0ε[␈z=Tβ␈∧∞3∧"αK↓¬α␈∧∞5π⊗␈{&qβ␈∧∞6πU␈y⊂`β␈∧∞6εw␈znbβ␈∧∞A∧Z∂  π␈∧∞D¬s∂j_λ␈∧∞GπR␈xX↑∧␈∧∞M∧\∩$≤	␈∧∞N∧+β'yα␈∧∞Q¬l⊂∀→λ␈∧∞VπG␈xεY∧␈∧∞[¬Z
V∨π␈∧∞c∧=∧∞kα␈∧∞eπ@␈w2U∧␈∧∞g¬N
⊗"ε␈∧∞m∧W→¬↔␈∧∞m¬=≤)¬␈∧∞t∧R¬⊗\β␈∧∞w¬.
7.¬␈∧∞y¬≥λ{6∧␈∧∞⎇∧nε<Lβ␈∧∞}¬
λ"<∧␈∧∂π'␈uLI¬␈∧∂
∧Z-6∞⊗␈∧∂∃π␈rm;ε␈∧∂#εl␈nε+	␈∧∂$∧eαXα↓,␈∧∂+ε.␈H
≤␈∧∂+εL␈e≤
␈↓ 
c␈↓α 25␈↓ α≥␈β⊂ ␈↓αPOX writeup,  edited 1975 DEC 05  07:52 PST,  compiled 1976 SEP 27  20:38 -- page 
␈↓ 
c␈↓α 26␈↓ α≥␈β↓α␈↓αPOX writeup,  edited 1975 DEC 05  07:52 PST,  compiled 1976 SEP 27  20:38 -- page 
␈↓ βs␈β↓H␈↓APPENDIX -- SUMMARY OF ALL POX COMMANDS
␈↓ ↓t␈β↓z␈↓IN THE APPROXIMATE CHRONOLOGICAL ORDER IN WHICH THEY WERE IMPLEMENTED
␈↓ ↓H␈βα≥␈↓∂page#
␈↓ ↓H␈βα;␈↓∂ ↓␈↓ αH[Original commands by R.E.Maas 1973]
␈↓ αH␈βαY␈↓∂;0␈↓ ∧HALL OTHERS, ILLEGAL
␈↓ ↓H␈βαw␈↓∂ 9␈↓ αH;1  |␈↓ ∧HSET NEW ESCAPE
␈↓ ↓H␈ββ∃␈↓∂ 3␈↓ αH;2  M␈↓ ∧HMAKE A NEW FONT
␈↓ ↓H␈ββ3␈↓∂ 4␈↓ αH;3  ;␈↓ ∧HIGNORE THRU LF ETC.
␈↓ ↓H␈ββQ␈↓∂ 4␈↓ αH;4  ,␈↓ ∧HIGNORE THRU FF
␈↓ ↓H␈ββo␈↓∂ 3␈↓ αH;5  F␈↓ ∧HFONT SELECT
␈↓ ↓H␈β∧
␈↓∂ 3␈↓ αH;6  f␈↓ ∧HFONT SELECT FOR ONE CHARACTER
␈↓ ↓H␈β∧+␈↓∂ 9␈↓ αH;7  S␈↓ ∧HSAMPLE
␈↓ ↓H␈β∧I␈↓∂ 4␈↓ αH;10 J␈↓ ∧HJUSTIFY
␈↓ ↓H␈β∧g␈↓∂ 7␈↓ αH;11 j␈↓ ∧HJUSTIFY
␈↓ ↓H␈⬬␈↓∂ 4␈↓ αH;12 C␈↓ ∧HCENTER
␈↓ ↓H␈β¬#␈↓∂ 7␈↓ αH;13 c␈↓ ∧HCENTER
␈↓ ↓H␈β¬A␈↓∂ 4␈↓ αH;14 R␈↓ ∧HRIGHTIFY
␈↓ ↓H␈β¬←␈↓∂ 7␈↓ αH;15 r␈↓ ∧HRIGHTIFY
␈↓ ↓H␈β¬⎇␈↓∂ 6␈↓ αH;16 ←+-*/\¬∧∨%L~_ Q-REGISTER ARITHMETIC
␈↓ ↓H␈βε≠␈↓∂ 6␈↓ αH;17 →␈↓ ∧HQ REGISTER DEPOSIT
␈↓ ↓H␈βε9␈↓∂ 7*␈↓ αH;62 ↑↓␈↓ ∧HQ-REGISTER SUB/SUP-SCRIPT [GENERATES ESCAPE SEQ. VIA XCT W]
␈↓ ↓H␈βεW␈↓∂ 7␈↓ αH;20 ∩∪⊗␈↓ ∧HMOVE BASELINE.
␈↓ αH␈βπ∪␈↓∂[Added by R.E.Gorin 1973-74]
␈↓ ↓H␈βπ1␈↓∂ 7␈↓ αH;21 U␈↓ ∧HUNDERSCORE
␈↓ ↓H␈βπO␈↓∂ 8␈↓ αH;22 P␈↓ ∧HPUSH
␈↓ ↓H␈βπm␈↓∂ 8␈↓ αH;23 p␈↓ ∧HPOP
␈↓ ↓H␈βλ␈↓∂ 7␈↓ αH;24 '␈↓ ∧HQUOTE WITH RUBOUT <<NOT RECCOMMENDED>>
␈↓ ↓H␈βλ)␈↓∂ 9␈↓ αH;25 λ␈↓ ∧HSET SPECIAL LINE SPACE FROM AC0
␈↓ ↓H␈βλG␈↓∂ 8␈↓ αH;26 V␈↓ ∧HVECTOR
␈↓ ↓H␈βλe␈↓∂ 9␈↓ αH;27 Y␈↓ ∧HSet Y position
␈↓ αH␈β	!␈↓∂[Added by R.E.Maas 1974-75]
␈↓ ↓H␈β	?␈↓∂12,14␈↓ αH;30 ∞␈↓ ∧HDefine macro
␈↓ ↓H␈β	]␈↓∂12,14␈↓ αH;31 !␈↓ ∧HCall macro
␈↓ ↓H␈β	{␈↓∂12,15␈↓ αH;32 ?␈↓ ∧HIf QREGAC>0 then call macro else scan but null semantics
␈↓ ↓H␈β
→␈↓∂12␈↓ αH;33 @␈↓ ∧HRequire source file, then return
␈↓ ↓H␈β
7␈↓∂12␈↓ αH;34 α␈↓ ∧HJump to file, don't return
␈↓ ↓H␈β
U␈↓∂ 8*␈↓ αH;26 v␈↓ ∧Hpretty vector
␈↓ ↓H␈β
s␈↓∂ 8␈↓ αH;35 Q␈↓ ∧HPUSH WITH ARG
␈↓ ↓H␈β⊃␈↓∂ 8␈↓ αH;36 q␈↓ ∧HPOP WITH ARG
␈↓ ↓H␈β/␈↓∂10␈↓ αH;37 o␈↓ ∧HDEFINE ATOMIC TEXT OVERLAY
␈↓ ↓H␈βM␈↓∂11␈↓ αH;40 O␈↓ ∧HOUTPUT OVERLAY
␈↓ ↓H␈βk␈↓∂11␈↓ αH;41 123456␈↓ ∧HLOAD QREGAC WITH PARAMETER FROM OVERLAY <<5,6 NOT WORKING>>
␈↓ ↓H␈β	␈↓∂20␈↓ αH;42 `␈↓ ∧H[TEMPORARY] SET UP VERSION FLAGS <<NOT RECCOMMENDED>>
␈↓ ↓H␈β'␈↓∂11␈↓ αH;43 &␈↓ ∧HCOMBINE SEVERAL OVERLAYS INTO ONE, WITH OFFSETS EACH
␈↓ ↓H␈βE␈↓∂12␈↓ αH;44 ∂␈↓ ∧HRENAME OVERLAY IN COMPLICATED WAY
␈↓ ↓H␈βc␈↓∂11␈↓ αH;45 :␈↓ ∧HCLOBBER SELECTED SIZE PARAMETER OF OVERLAY
␈↓ ↓H␈β
↓␈↓∂ 9␈↓ αH;46 ε␈↓ ∧HSET MINIMUM BASELINE SPACING, USED IN CONJUNCTION WITH λ
␈↓ ↓H␈β
∨␈↓∂ 4␈↓ αH;47 <SP><TB>␈↓ ∧HIGNORE SPACES UNTIL ; SEEN (FOR PRETTY SOURCE FILES)
␈↓ ↓H␈β
=␈↓∂ 3␈↓ αH;50 <VT>N␈↓ ∧HBREAK TO NEXT LINE HERE WITHOUT AFFECTING SYNTAX
␈↓ ↓H␈β
[␈↓∂ 9␈↓ αH;51 u␈↓ ∧HCALLI UUO
␈↓ ↓H␈β
y␈↓∂ 7␈↓ αH;52 "␈↓ ∧HQUOTE THE NEXT CHARACTER (WITHOUT RUBOUT UNLESS NEEDED)
␈↓ αH␈β∞↔␈↓∂;53 n␈↓ ∧HNO PAGE CHANGE NEXT TIME <<NOT SUPPORTED>>
␈↓ ↓H␈β∞5␈↓∂ 8␈↓ αH;54 A␈↓ ∧HCVT QREG TO CHARACTER (WITHOUT RUBOUT UNLESS NEEDED) AND OUTPUT
␈↓ ↓H␈β∞S␈↓∂20␈↓ αH;55 ⊂␈↓ ∧HTURN ON DEBUG FLAGS -- VLEVE←VLEVEL∨ARG
␈↓ ↓H␈β∞q␈↓∂20␈↓ αH;56 ⊃␈↓ ∧HTURN OFF DEBUG FLAGS -- VLEVEL←VLEVEL∧(¬ARG)
␈↓ ↓H␈β∂∂␈↓∂ 7␈↓ αH;57 {␈↓ ∧HSTART UNDERLINE [WRITES ESCAPE SEQUENCE VIA XCT W]
␈↓ ↓H␈β∂-␈↓∂ 7␈↓ αH;60 }␈↓ ∧HSTOP UNDERLINE [DITTO]
␈↓ 
c␈↓α 26␈↓ α≥␈β⊂ ␈↓αPOX writeup,  edited 1975 DEC 05  07:52 PST,  compiled 1976 SEP 27  20:38 -- page 
␈↓ 
c␈↓α 27␈↓ α≥␈β↓α␈↓αPOX writeup,  edited 1975 DEC 05  07:52 PST,  compiled 1976 SEP 27  20:38 -- page 
␈↓ ↓H␈β↓H␈↓∂ 8␈↓ αH;61 D␈↓ ∧HCONVERT DECIMAL TO STRING MACRO AND SPLICE NOW [INPDL]
␈↓ ↓H␈β↓f␈↓∂11*␈↓ αH;40 W␈↓ ∧HSAME AS O BUT FORCES ON SAME PAGE, DOES NOT AFFECT PAGE PRINTER
␈↓ ↓H␈βα∧␈↓∂13␈↓ αH;63 β␈↓ ∧HDO LOOKUP ON FILE, WARN IF MISSING, BUT DON'T READ IT
␈↓ ↓H␈βα"␈↓∂13*␈↓ αH;33 ∀␈↓ ∧HSCAN OF LIBRARY OF MACRO DEFINITIONS
␈↓ ↓H␈βα@␈↓∂ 8␈↓ αH;64 #␈↓ ∧HPUSH FONT# ON STACK
␈↓ ↓H␈βα↑␈↓∂ 8␈↓ αH;65 G␈↓ ∧HPOP FONT# FROM STACK AND SELECT
␈↓ αH␈ββ~␈↓∂[Not yet implemented -- 1975.Nov]
␈↓ αH␈ββ8␈↓∂;N1 X␈↓ ∧H(RESERVED FOR EXTENDED-SCANNER TO BE IMPLEMENTED SOMEDAY)
␈↓ αH␈ββV␈↓∂;N2 π␈↓ ∧H(RESERVED FOR ILLEGAL COMMAND TO ENTER DEBUG PACKAGE)
␈↓ β-␈β∧≤␈↓INDEX TO POX COMMANDS IN ASCII-ALPHABETICAL ORDER
␈↓ αk␈β∧I␈↓NUMBER REFERS TO SUMMARY OF COMMANDS IN PREVIOUS TABLE
␈↓ α/␈β∧v␈↓AN ASTERISK HERE MEANS IT'S NOT LOCATED IN NUMERICAL ORDER THERE
␈↓ αH␈β¬(␈↓∂xx0␈↓ βHxx1␈↓ ∧Hxx2␈↓ ¬Hxx3␈↓ εHxx4␈↓ πHxx5␈↓ λHxx6␈↓ 	Hxx7
␈↓ ↓H␈β¬U␈↓∂00x␈↓ αHNUL 00␈↓ βH↓ 62*␈↓ ∧Hα 34␈↓ ¬Hβ 63␈↓ εH∧ 16␈↓ πH¬ 16␈↓ λHε 46␈↓ 	Hπ N2
␈↓ ↓H␈βεα␈↓∂01x␈↓ αHλ 25␈↓ βHTB 47␈↓ ∧HLF 00␈↓ ¬H 50␈↓ εHFF 00␈↓ πHCR 00␈↓ λH∞ 30␈↓ 	H∂ 44
␈↓ ↓H␈βε/␈↓∂02x␈↓ αH⊂ 55␈↓ βH⊃ 56␈↓ ∧H∩ 20␈↓ ¬H∪ 20␈↓ εH∀ (64)␈↓ πH∃␈↓ λH⊗ 20␈↓ 	H↔
␈↓ ↓H␈βε\␈↓∂03x␈↓ αH_ 16␈↓ βH→ 17␈↓ ∧H~ 16␈↓ ¬H≠␈↓ εH≤␈↓ πH≥␈↓ λH≡␈↓ 	H∨ 16
␈↓ ↓H␈βπ	␈↓∂04x␈↓ αHSP 47␈↓ βH! 31␈↓ ∧H" 52␈↓ ¬H#␈↓ εH$␈↓ πH% 16␈↓ λH& 43␈↓ 	H' 24
␈↓ ↓H␈βπ6␈↓∂05x␈↓ αH( (?)␈↓ βH)␈↓ ∧H* 16␈↓ ¬H+ 16␈↓ εH, 04␈↓ πH- 16␈↓ λH. 03␈↓ 	H/ 16
␈↓ ↓H␈βπc␈↓∂06x␈↓ αH0␈↓ βH1 41␈↓ ∧H2 41␈↓ ¬H3 41␈↓ εH4 41␈↓ πH5 (41)␈↓ λH6 (41)␈↓ 	H7 (?)
␈↓ ↓H␈βλ⊂␈↓∂07x␈↓ αH8 30␈↓ βH9␈↓ ∧H: 45␈↓ ¬H; 03␈↓ εH<␈↓ πH=␈↓ λH>␈↓ 	H? 32
␈↓ ↓H␈βλ=␈↓∂10x␈↓ αH@ 33␈↓ βHA 54␈↓ ∧HB␈↓ ¬HC 12␈↓ εHD 61␈↓ πHE␈↓ λHF 05␈↓ 	HG
␈↓ ↓H␈βλj␈↓∂11x␈↓ αHH␈↓ βHI␈↓ ∧HJ 10␈↓ ¬HK␈↓ εHL 16␈↓ πHM 02␈↓ λHN 50␈↓ 	HO 40
␈↓ ↓H␈β	↔␈↓∂12x␈↓ αHP 22␈↓ βHQ 35␈↓ ∧HR 14␈↓ ¬HS 07␈↓ εHT␈↓ πHU 21␈↓ λHV 26␈↓ 	HW 40*
␈↓ ↓H␈β	D␈↓∂13x␈↓ αHX N1␈↓ βHY 27␈↓ ∧HZ␈↓ ¬H[␈↓ εH\ 16␈↓ πH]␈↓ λH↑ 62*␈↓ 	H← 16
␈↓ ↓H␈β	q␈↓∂14x␈↓ αH` 42␈↓ βHa␈↓ ∧Hb␈↓ ¬Hc 13␈↓ εHd␈↓ πHe␈↓ λHf 06␈↓ 	Hg
␈↓ ↓H␈β
≡␈↓∂15x␈↓ αHh␈↓ βHi␈↓ ∧Hj 11␈↓ ¬Hk␈↓ εHl␈↓ πHm␈↓ λHn 53␈↓ 	Ho 37
␈↓ ↓H␈β
K␈↓∂16x␈↓ αHp 23␈↓ βHq 36␈↓ ∧Hr 15␈↓ ¬Hs␈↓ εHt␈↓ πHu 51␈↓ λHv 26*␈↓ 	Hw (26)
␈↓ ↓H␈β
x␈↓∂17x␈↓ αHx␈↓ βHy␈↓ ∧Hz␈↓ ¬H{ 57␈↓ εH| 01␈↓ πHALT 00␈↓ λH} 60␈↓ 	HBS 00
␈↓ α_␈βR␈↓β(To␈αuse␈αthe␈αabove␈αtable␈αto␈αlocate␈αthe␈αcommand␈αcorresponding␈αto␈αa␈αparticular␈αcharacter,␈αlook␈αup
␈↓ ↓H␈β␈␈↓βthe␈α∩character␈α∩according␈α∩to␈α∩ASCII␈α∩number,␈α∩use␈α∩the␈α∩numerical␈α∩entry␈α∩in␈α∩the␈α⊃table␈α⊃to␈α⊃reference␈α⊃the
␈↓ ↓H␈β,␈↓βpreceeding␈α
table,␈α
and␈α
read␈α
the␈α
description␈α
on␈α
that␈α
table.␈α
That␈α
first␈α
table␈α
now␈α
includes␈αpage␈αnumbers
␈↓ ↓H␈βY␈↓βfor␈α
your␈α
convenience␈α
in␈α
locating␈α
the␈αfull␈αdescription␈αelsewhere␈αin␈αthis␈αwriteup.␈αThe␈αtable␈αof␈αcontents,
␈↓ ↓H␈β
ε␈↓βhowever,␈α
will␈α
usually␈α
be␈α
more␈α
useful␈α
for␈α
locating␈α
general␈α
types␈α
of␈α
commands.)
␈↓ 
c␈↓α 27␈↓ α≥␈β⊂ ␈↓αPOX writeup,  edited 1975 DEC 05  07:52 PST,  compiled 1976 SEP 27  20:38 -- page 
␈↓ βf␈β↓H␈↓PROTOTYPE OVERLAY XEROGRAPHICS -- WRITEUP
␈↓ ε
␈β↓u␈↓CONTENTS
␈↓ ↓;␈βαT␈↓β(page numbers here correspond to headings/footings -- add one for XSPOOL command page numbers) ↓↓
␈↓ ↓H␈βα|␈↓Contents [this page, generated after p.27, bound before p.1]␈↓α␈↓ ]i
␈∧β≤↓H↓
≡␈∧β!↓H↓
≡␈↓ ↓H␈ββ)␈↓Introduction␈↓ G 1
␈↓ α(␈ββV␈↓Sample POX manuscript␈↓ G 2
␈↓ α(␈β∧β␈↓This writeup, organization, modes, notation␈↓ G 2
␈↓ α(␈β∧0␈↓BNF notation used in this writeup␈↓ G 3
␈∧∧P↓H↓
≡␈∧∧U↓H↓
≡␈↓ ↓H␈β∧]␈↓Basic commands␈↓ G 3
␈↓ α(␈β¬
␈↓Table of modes and commands␈↓ G 4
␈↓ α(␈β¬7␈↓Examples␈↓ G 5
␈∧¬W↓H↓
≡␈∧¬\↓H↓
≡␈↓ ↓H␈β¬d␈↓Registers and XY coordinates␈↓ G 5
␈↓ α(␈βε⊃␈↓Arguments to commands␈↓ G 6
␈↓ α(␈βε>␈↓Commands (most of the POX commands are in this section...)␈↓ G 6
␈↓ α(␈βεk␈↓...Vectors␈↓ G 8
␈↓ α(␈βπ_␈↓...Interline spacing␈↓ G 9
␈↓ α(␈βπE␈↓Examples␈↓ @10
␈∧πe↓H↓
≡␈∧πj↓H↓
≡␈↓ ↓H␈βπr␈↓Overlays␈↓ @10
␈↓ α(␈βλ∨␈↓Examples␈↓ @12
␈∧λ?↓H↓
≡␈∧λD↓H↓
≡␈↓ ↓H␈βλL␈↓Macros without arguments, require source files␈↓ @12
␈↓ α(␈βλy␈↓Examples␈↓ @13
␈∧	→↓H↓
≡␈∧	≡↓H↓
≡␈↓ ↓H␈β	&␈↓Macros with arguments␈↓ @14
␈↓ α(␈β	S␈↓Commands␈↓ @14
␈↓ α(␈β
␈↓Detailed algorithm of evaluation␈↓ @15
␈↓ α(␈β
-␈↓Examples␈↓ @17
␈↓ α(␈β
Z␈↓Detailed examples of argument evaluation␈↓ @17
␈↓ α(␈βπ␈↓Advanced examples (MONTH<N>, EVAL, RECURSE, DEFCONT, EVERYPAGE) ␈↓ @18
␈∧'↓H↓
≡␈∧,↓H↓
≡␈↓ ↓H␈β4␈↓Special-feature bits␈↓ @20
␈↓ α(␈βa␈↓Batch 0␈↓ @21
␈↓ α(␈β∞␈↓Batch 1␈↓ @22
␈↓ α(␈β;␈↓Examples␈↓ @22
␈∧[↓H↓
≡␈∧`↓H↓
≡␈↓ ↓H␈βh␈↓Remarks on using the POX program␈↓ @22
␈↓ α(␈β
∃␈↓Backtrace/Error package␈↓ @22
␈↓ α(␈β
B␈↓Known bugs in POX (by number)␈↓ @23
␈↓ α(␈β
o␈↓Notes (by number)␈↓ @23
␈↓ α(␈β∞≤␈↓Trivia␈↓ @24
␈∧∞<↓H↓
≡␈∧∞A↓H↓
≡␈↓ ↓H␈β∞I␈↓Appendix␈↓ @26
␈↓ α(␈β∞v␈↓Chronological list of commands (with page references)␈↓ @26
␈↓ α(␈β∂#␈↓ASCII sequence table␈↓ @27
␈↓ 
l␈↓α i␈↓ α&␈β⊂ ␈↓αPOX writeup,  edited 1975 DEC 05  07:52 PST,  compiled 1976 SEP 27  20:38 -- page